Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hasFatalErrors (0.09 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

        /**
         * The collected problems.
         * @return a list of model problems encountered, never {@code null}
         */
        List<ModelProblem> getProblems();
    
        boolean hasErrors();
    
        boolean hasFatalErrors();
    
        default void add(BuilderProblem.Severity severity, ModelProblem.Version version, String message) {
            add(severity, version, message, null, null);
        }
    
        default void add(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

            this.problems = result.getProblems();
    
            for (ModelProblem problem : this.problems) {
                severities.add(problem.getSeverity());
            }
        }
    
        public boolean hasFatalErrors() {
            return severities.contains(ModelProblem.Severity.FATAL);
        }
    
        public boolean hasErrors() {
    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. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                throw new IllegalStateException();
            }
        }
    
        protected boolean hasFatalErrors(ModelProblemCollectorExt problems) {
            if (problems instanceof DefaultModelProblemCollector) {
                return ((DefaultModelProblemCollector) problems).hasFatalErrors();
            } else {
                // the default execution path only knows the DefaultModelProblemCollector,
    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