Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for getProblem (0.25 sec)

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

         *
         * @return The problems that caused this exception, never {@code null}.
         */
        public List<ModelProblem> getProblems() {
            if (result == null) {
                return Collections.emptyList();
            }
            return Collections.unmodifiableList(result.getProblems());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingResult.java

         */
        PersistedToolchains getEffectiveToolchains();
    
        /**
         * Return a list of problems, if any.
         *
         * @return a list of 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.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingListener.java

    /**
     * Defines events that the model builder fires during construction of the effective model. When a listener encounters
     * errors while processing the event, it can report these problems via {@link ModelBuildingEvent#getProblems()}.
     * Note: To cope with future extensions to this interface, it is strongly recommended to extend
     * {@link AbstractModelBuildingListener} rather than to directly implement this interface.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

            this.activeExternalProfiles.addAll(result.getActiveExternalProfiles());
            this.effectiveModel = result.getEffectiveModel();
            this.fileModel = result.getFileModel();
            this.problems.addAll(result.getProblems());
    
            for (String modelId : result.getModelIds()) {
                this.modelIds.add(modelId);
                this.rawModels.put(modelId, result.getRawModel(modelId));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingEvent.java

        public Model getModel() {
            return model;
        }
    
        @Override
        public ModelBuildingRequest getRequest() {
            return request;
        }
    
        @Override
        public ModelProblemCollector getProblems() {
            return problems;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                    }
    
                    @Nonnull
                    @Override
                    public Collection<BuilderProblem> getProblems() {
                        return new MappedCollection<>(res.getProblems(), this::toProblem);
                    }
    
                    private BuilderProblem toProblem(ModelProblem problem) {
                        return new BuilderProblem() {
    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-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

         *
         * @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)
  8. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

            }
        }
    
        /**
         * Gets the problems that caused this exception.
         *
         * @return The problems that caused this exception, never {@code null}.
         */
        public List<Problem> getProblems() {
            return problems;
        }
    
        private static String toMessage(List<Problem> problems) {
            StringWriter buffer = new StringWriter(1024);
    
            PrintWriter writer = new PrintWriter(buffer);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                        .build());
    
                return new DefaultSettingsBuildingResult(
                        new Settings(result.getEffectiveSettings()), convert(result.getProblems()));
            } catch (SettingsBuilderException e) {
                throw new SettingsBuildingException(convert(e.getProblems()));
            }
        }
    
        private org.apache.maven.api.services.Source toSource(File file, Source source) {
            if (file != null && file.exists()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

     *
     */
    public interface ModelProblemCollector {
    
        /**
         * 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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top