Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for setSource (0.21 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-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            this.setComponents(clone(original.getMojos(), this));
            this.setId(original.getId());
            this.setIsolatedRealm(original.isIsolatedRealm());
            this.setSource(original.getSource());
            this.setDependencies(original.getDependencies());
            this.setDependencyNode(original.getDependencyNode());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java

                    e.getMessage());
        }
    
        @Test
        void testUnknownPosition() {
            ProblemCollector problemCollector = ProblemCollectorFactory.newInstance(null);
            problemCollector.setSource("SOURCE");
            problemCollector.add(Problem.Severity.ERROR, "MESSAGE", -1, -1, new Exception());
            ToolchainsBuildingException e = new ToolchainsBuildingException(problemCollector.getProblems());
            assertEquals(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. 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)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

         * their source, but the next messages will use the new source.
         *
         * @param source a source
         */
        void setSource(String source);
    
        /**
         *
         * @return the collected Problems, never {@code null}
         */
        List<Problem> getProblems();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            profileActivationContext.setProjectProperties(inputModel.getDelegate().getProperties());
            problems.setSource(inputModel);
            List<Profile> activePomProfiles =
                    profileSelector.getActiveProfiles(inputModel.getProfiles(), profileActivationContext, problems);
    
            // model normalization
            problems.setSource(inputModel);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java

            this.problems = (problems != null) ? problems : new ArrayList<>();
        }
    
        public List<SettingsProblem> getProblems() {
            return problems;
        }
    
        public void setSource(String source) {
            this.source = source;
        }
    
        @Override
        public void add(SettingsProblem.Severity severity, String message, int line, int column, Exception cause) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java

            this.problems = (problems != null) ? problems : new ArrayList<>();
        }
    
        @Override
        public List<Problem> getProblems() {
            return problems;
        }
    
        @Override
        public void setSource(String source) {
            this.source = source;
        }
    
        @Override
        public void add(Problem.Severity severity, String message, int line, int column, Exception cause) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                                + numberOfReplicas + "}}}";
                    }
                    return c.admin().indices().prepareCreate(index).setSource(source, XContentType.JSON).execute();
                });
                if (indexResponse.isAcknowledged()) {
                    logger.info("Created {} index.", index);
                } else if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

            return artifactUri;
        }
    
        public void setArtifactUri(String artifactUri) {
            this.artifactUri = artifactUri;
        }
    
        public MetadataGraphVertex getSource() {
            return source;
        }
    
        public void setSource(MetadataGraphVertex source) {
            this.source = source;
        }
    
        public MetadataGraphVertex getTarget() {
            return target;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top