Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for setSources (0.07 sec)

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

            DefaultProblemCollector collector = new DefaultProblemCollector(null);
    
            collector.add(null, "PROBLEM1", -1, -1, null);
    
            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());
    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. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

                InputLocation location,
                Exception exception);
    
        void add(ModelProblem problem);
    
        ModelBuilderException newModelBuilderException();
    
        void setSource(String location);
    
        void setSource(Model model);
    
        String getSource();
    
        void setRootModel(Model model);
    
        Model getRootModel();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

                    logger.warn("{} is not found.", mappingFile, e);
                }
                try {
                    final AcknowledgedResponse putMappingResponse = indicesClient.preparePutMapping(index).setSource(source, XContentType.JSON)
                            .execute().actionGet(fessConfig.getIndexIndicesTimeout());
                    if (putMappingResponse.isAcknowledged()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. 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)
  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/DefaultModelProblemCollector.java

        }
    
        @Override
        public List<ModelProblem> getProblems() {
            return problems;
        }
    
        public void setSource(String source) {
            this.source = source;
            this.sourceModel = null;
        }
    
        public void setSource(Model source) {
            this.sourceModel = source;
            this.source = null;
    
            if (rootModel == null) {
                rootModel = source;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.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. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

        public static Profile convertFromProfileXmlProfile(org.apache.maven.profiles.Profile profileXmlProfile) {
            Profile profile = new Profile();
    
            profile.setId(profileXmlProfile.getId());
    
            profile.setSource("profiles.xml");
    
            org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation();
    
            if (profileActivation != null) {
                Activation activation = new Activation();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

        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;
        }
    
        public void setTarget(MetadataGraphVertex 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