Uses of Class
org.apache.maven.model.building.Result
-
Uses of Result in org.apache.maven.model.building
Modifier and TypeMethodDescriptionstatic <T> Result
<T> Result.addProblem
(Result<T> result, ModelProblem problem) New result consisting of given result and new problem.static <T> Result
<T> Result.addProblems
(Result<T> result, Iterable<? extends ModelProblem> problems) New result that includes the givenstatic <T> Result
<T> Result.addProblems
(Result<T> result, Result<?>... results) DefaultModelBuilder.buildRawModel
(File pomFile, int validationLevel, boolean locationTracking) DefaultModelBuilder.buildRawModel
(File pomFile, int validationLevel, boolean locationTracking, TransformerContext context) ModelBuilder.buildRawModel
(File pomFile, int validationLevel, boolean locationTracking) Performs only the part ofModelBuilder.build(ModelBuildingRequest)
that loads the raw modelModelBuilder.buildRawModel
(File pomFile, int validationLevel, boolean locationTracking, TransformerContext context) static <T> Result
<T> Result.error
(Iterable<? extends ModelProblem> problems) Error with problems describing the causestatic <T> Result
<T> static <T> Result
<T> static <T> Result
<T> Result.error
(T model) static <T> Result
<T> Result.error
(T model, Iterable<? extends ModelProblem> problems) Error with partial result and problems describing the causestatic <T> Result
<T> Result.newResult
(T model, Iterable<? extends ModelProblem> problems) New result - determine whether error or success by checking problems for errorsResult.newResultSet
(Iterable<? extends Result<? extends T>> results) Turns the given results into a single result by combining problems and models into single collection.static <T> Result
<T> Result.success
(T model) Success without warningsstatic <T> Result
<T> Result.success
(T model, Iterable<? extends ModelProblem> problems) Success with warningsstatic <T> Result
<T> Success with warningsModifier and TypeMethodDescriptionstatic <T> Result
<T> Result.addProblem
(Result<T> result, ModelProblem problem) New result consisting of given result and new problem.static <T> Result
<T> Result.addProblems
(Result<T> result, Iterable<? extends ModelProblem> problems) New result that includes the givenstatic <T> Result
<T> Result.addProblems
(Result<T> result, Result<?>... results) static <T> Result
<T> static <T> Result
<T> static <T> Result
<T> Success with warningsModifier and TypeMethodDescriptionResult.newResultSet
(Iterable<? extends Result<? extends T>> results) Turns the given results into a single result by combining problems and models into single collection.