Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hasErrors (0.05 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

                    problemsList.add(modelProblem);
                }
    
                if (result.hasErrors()) {
                    hasErrors = true;
                }
            }
            return new Result<>(hasErrors, (Iterable<T>) modelsList, problemsList);
        }
    
        // helper to determine if problems contain error
        private static boolean hasErrors(Iterable<? extends ModelProblem> problems) {
            for (ModelProblem input : problems) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

                severities.add(problem.getSeverity());
            }
        }
    
        public boolean hasFatalErrors() {
            return severities.contains(ModelProblem.Severity.FATAL);
        }
    
        public boolean hasErrors() {
            return severities.contains(ModelProblem.Severity.ERROR) || severities.contains(ModelProblem.Severity.FATAL);
        }
    
        @Override
        public List<ModelProblem> getProblems() {
            return problems;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            }
    
            eventCatapult.fire(ExecutionEvent.Type.ProjectDiscoveryStarted, session, null);
    
            Result<? extends ProjectDependencyGraph> graphResult = buildGraph(session);
    
            if (graphResult.hasErrors()) {
                return addExceptionToResult(
                        result, graphResult.getProblems().iterator().next().getException());
            }
    
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

        }
    
        protected boolean hasModelErrors(ModelProblemCollectorExt problems) {
            if (problems instanceof DefaultModelProblemCollector) {
                return ((DefaultModelProblemCollector) problems).hasErrors();
            } else {
                // the default execution path only knows the DefaultModelProblemCollector,
                // only reason it's not in signature is because it's package private
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top