Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for getSource (0.11 sec)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            collector.setSource("SOURCE_PROBLEM2");
            collector.add(null, "PROBLEM2", -1, -1, null);
    
            collector.setSource("SOURCE_PROBLEM3");
            collector.add(null, "PROBLEM3", -1, -1, null);
    
            assertEquals("", collector.getProblems().get(0).getSource());
            assertEquals("SOURCE_PROBLEM2", collector.getProblems().get(1).getSource());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         *
         * @return The hint about the source of the problem or an empty string if unknown, never {@code null}.
         */
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
         * @return The one-based index of the line containing the problem or a non-positive value if unknown.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

                if (req.getLocation().getSource() != null) {
                    modelId = req.getLocation().getSource().getModelId();
                    source = req.getLocation().getSource().getLocation();
                }
            }
    
            if (modelId == null) {
                modelId = getModelId();
                source = getSource();
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java

         *
         * @return The hint about the source of the problem or an empty string if unknown, never {@code null}.
         */
        String getSource();
    
        /**
         * Gets the one-based index of the line containing the problem. The line number should refer to some text file that
         * is given by {@link #getSource()}.
         *
         * @return The one-based index of the line containing the problem or a non-positive value if unknown.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

            this.exception = exception;
        }
    
        public String getSource() {
            return source;
        }
    
        public int getLineNumber() {
            return lineNumber;
        }
    
        public int getColumnNumber() {
            return columnNumber;
        }
    
        public String getLocation() {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!getSource().isEmpty()) {
                if (buffer.length() > 0) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                if (request.getPath().isPresent()) {
                    Path path = request.getPath().get();
                    res = builder.build(path.toFile(), req);
                } else if (request.getSource().isPresent()) {
                    Source source = request.getSource().get();
                    ModelSource2 modelSource = new SourceWrapper(source);
                    res = builder.build(modelSource, req);
                } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java

        @Override
        public String getLocation() {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!getSource().isEmpty()) {
                if (buffer.length() > 0) {
                    buffer.append(", ");
                }
                buffer.append(getSource());
            }
    
            if (getLineNumber() > 0) {
                if (buffer.length() > 0) {
                    buffer.append(", ");
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

            this.lineNumber = location.getLineNumber();
            this.columnNumber = location.getColumnNumber();
            this.source = location.getSource() != null ? new InputSource(location.getSource()) : null;
            this.locations = location.getLocations().isEmpty()
                    ? null
                    : location.getLocations().entrySet().stream()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                                md.getClassifier(),
                                edge.getArtifactUri(),
                                edge.getSource() == null
                                        ? ""
                                        : edge.getSource().getMd().toString(),
                                edge.isResolved(),
                                edge.getTarget() == null
                                        ? null
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

                        activeProfiles.add(profile);
    
                        if (Profile.SOURCE_POM.equals(profile.getSource())) {
                            activatedPomProfileNotByDefault = true;
                        }
                    } else if (isActiveByDefault(profile)) {
                        if (Profile.SOURCE_POM.equals(profile.getSource())) {
                            activePomProfilesByDefault.add(profile);
                        } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top