Uses of Interface
org.apache.maven.model.building.ModelProblem
-
Packages that use ModelProblem Package Description org.apache.maven.model.building -
-
Uses of ModelProblem in org.apache.maven.model.building
Classes in org.apache.maven.model.building that implement ModelProblem Modifier and Type Class Description class
DefaultModelProblem
Describes a problem that was encountered during model building.Methods in org.apache.maven.model.building that return types with arguments of type ModelProblem Modifier and Type Method Description java.util.List<ModelProblem>
ModelBuildingException. getProblems()
Gets the problems that caused this exception.java.util.List<ModelProblem>
ModelBuildingResult. getProblems()
Gets the problems that were encountered during the model building.java.util.List<ModelProblem>
ModelProblemCollectorExt. getProblems()
The collected problems.java.lang.Iterable<? extends ModelProblem>
Result. getProblems()
Methods in org.apache.maven.model.building with parameters of type ModelProblem Modifier and Type Method Description static <T> Result<T>
Result. addProblem(Result<T> result, ModelProblem problem)
New result consisting of given result and new problem.static java.lang.String
ModelProblemUtils. formatLocation(ModelProblem problem, java.lang.String projectId)
Creates a string with all location details for the specified model problem.Method parameters in org.apache.maven.model.building with type arguments of type ModelProblem Modifier and Type Method Description static <T> Result<T>
Result. addProblems(Result<T> result, java.lang.Iterable<? extends ModelProblem> problems)
New result that includes the givenstatic <T> Result<T>
Result. error(java.lang.Iterable<? extends ModelProblem> problems)
Error with problems describing the causestatic <T> Result<T>
Result. error(T model, java.lang.Iterable<? extends ModelProblem> problems)
Error with partial result and problems describing the causestatic <T> Result<T>
Result. newResult(T model, java.lang.Iterable<? extends ModelProblem> problems)
New result - determine whether error or success by checking problems for errorsstatic <T> Result<T>
Result. success(T model, java.lang.Iterable<? extends ModelProblem> problems)
Success with warningsConstructor parameters in org.apache.maven.model.building with type arguments of type ModelProblem Constructor Description ModelBuildingException(org.apache.maven.model.Model model, java.lang.String modelId, java.util.List<ModelProblem> problems)
Deprecated.UseModelBuildingException(ModelBuildingResult)
instead.
-