Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ProblemCollector (0.18 sec)

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

         */
        @Nonnull
        static <P extends BuilderProblem> ProblemCollector<P> create(int maxCountLimit) {
            return create(maxCountLimit, p -> true);
        }
    
        /**
         * Default implementation of the ProblemCollector interface.
         *
         * @param <P> the type of problem
         */
        class Impl<P extends BuilderProblem> implements ProblemCollector<P> {
    
            private final int maxCountLimit;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 18 17:30:19 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java

     * @since 4.0.0
     */
    @Experimental
    public abstract class MavenBuilderException extends MavenException {
    
        /**
         * The collection of problems associated with this exception.
         */
        private final ProblemCollector<BuilderProblem> problems;
    
        /**
         * Constructs a new exception with the specified message and cause.
         * This constructor creates an empty problem collector.
         *
         * @param message the detail message
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java

    class ProblemCollectorFactoryTest {
    
        @Test
        void testNewInstance() {
            ProblemCollector collector1 = ProblemCollectorFactory.newInstance(null);
    
            Problem problem = new DefaultProblem("MESSAGE1", null, null, -1, -1, null);
            ProblemCollector collector2 = ProblemCollectorFactory.newInstance(Collections.singletonList(problem));
    
            assertNotSame(collector1, collector2);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Jul 20 20:19:43 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java

         *
         * @param settings The settings to validate, must not be {@code null}.
         * @return The list of problems that were encountered, must not be {@code null}.
         */
        @Nonnull
        default ProblemCollector<BuilderProblem> validate(@Nonnull Settings settings) {
            return validate(settings, false);
        }
    
        /**
         * Validate the specified settings.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         *
         * @return the problem collector that collected problems encountered during the project building
         */
        @Nonnull
        ProblemCollector<ModelProblem> getProblemCollector();
    
        /**
         * Gets the children of this result.
         *
         * @return the children of this result, can be empty but never {@code null}
         */
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top