Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newResult (0.04 sec)

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

         *
         * @param model
         * @param problems
         */
        public static <T> Result<T> newResult(T model, Iterable<? extends ModelProblem> problems) {
            return new Result<>(hasErrors(problems), model, problems);
        }
    
        /**
         * New result consisting of given result and new problem. Convenience for newResult(result.get(),
         * concat(result.getProblems(),problems)).
         *
         * @param result
    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/DefaultModelBuilder.java

    import org.eclipse.sisu.Nullable;
    
    import static org.apache.maven.api.services.ModelBuilder.MODEL_VERSION_4_0_0;
    import static org.apache.maven.model.building.Result.error;
    import static org.apache.maven.model.building.Result.newResult;
    
    /**
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultModelBuilder implements ModelBuilder {
    
    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