Uses of Interface
org.apache.maven.api.services.ModelProblem
-
Uses of ModelProblem in org.apache.maven.api.services
Modifier and TypeMethodDescriptionModelBuilderException.getProblems()
Gets the problems that caused this exception.ModelBuilderResult.getProblems()
Gets the problems that were encountered during the project building.ModelProblemCollector.getProblems()
The collected problems. -
Uses of ModelProblem in org.apache.maven.internal.impl.model
Modifier and TypeClassDescriptionclass
Describes a problem that was encountered during model building.Modifier and TypeMethodDescriptionDefaultModelBuilder.ModelBuilderSessionState.getProblems()
Iterable<? extends ModelProblem>
Result.getProblems()
Modifier and TypeMethodDescriptionvoid
DefaultModelBuilder.ModelBuilderSessionState.add
(ModelProblem problem) static <T> Result<T>
Result.addProblem
(Result<T> result, ModelProblem problem) New result consisting of given result and new problem.static String
ModelProblemUtils.formatLocation
(ModelProblem problem, String projectId) Creates a string with all location details for the specified model problem.Modifier and TypeMethodDescriptionstatic <T> Result<T>
Result.addProblems
(Result<T> result, Iterable<? extends ModelProblem> problems) New result that includes the givenstatic <T> Result<T>
Result.error
(Iterable<? extends ModelProblem> problems) Error with problems describing the causestatic <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 errorsstatic <T> Result<T>
Result.success
(T model, Iterable<? extends ModelProblem> problems) Success with warnings