Uses of Interface
org.apache.maven.model.building.ModelProblem
-
Packages that use ModelProblem Package Description org.apache.maven.exception org.apache.maven.model.building org.apache.maven.project org.apache.maven.project.artifact -
-
Uses of ModelProblem in org.apache.maven.exception
Methods in org.apache.maven.exception with parameters of type ModelProblem Modifier and Type Method Description private ExceptionSummary
DefaultExceptionHandler. handle(ModelProblem problem, java.lang.String projectId)
-
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.Fields in org.apache.maven.model.building with type parameters of type ModelProblem Modifier and Type Field Description private java.util.List<ModelProblem>
DefaultModelBuildingResult. problems
private java.util.List<ModelProblem>
DefaultModelProblemCollector. problems
private java.lang.Iterable<? extends ModelProblem>
Result. problems
Methods in org.apache.maven.model.building that return types with arguments of type ModelProblem Modifier and Type Method Description java.util.List<ModelProblem>
DefaultModelBuildingResult. getProblems()
java.util.List<ModelProblem>
DefaultModelProblemCollector. getProblems()
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 void
DefaultModelProblemCollector. add(ModelProblem problem)
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 void
DefaultModelProblemCollector. addAll(java.util.List<ModelProblem> problems)
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 causeprivate static boolean
Result. hasErrors(java.lang.Iterable<? extends ModelProblem> problems)
static <T> Result<T>
Result. newResult(T model, java.lang.Iterable<? extends ModelProblem> problems)
New result - determine whether error or success by checking problems for errorsDefaultModelBuildingResult
DefaultModelBuildingResult. setProblems(java.util.List<ModelProblem> problems)
static <T> Result<T>
Result. success(T model, java.lang.Iterable<? extends ModelProblem> problems)
Success with warningsprivate static java.lang.String
ModelBuildingException. toMessage(java.lang.String modelId, java.util.List<ModelProblem> problems)
Constructor parameters in org.apache.maven.model.building with type arguments of type ModelProblem Constructor Description ModelBuildingException(Model model, java.lang.String modelId, java.util.List<ModelProblem> problems)
Deprecated.UseModelBuildingException(ModelBuildingResult)
instead.Result(boolean errors, T model, java.lang.Iterable<? extends ModelProblem> problems)
-
Uses of ModelProblem in org.apache.maven.project
Fields in org.apache.maven.project with type parameters of type ModelProblem Modifier and Type Field Description private java.util.List<ModelProblem>
DefaultProjectBuildingResult. problems
Methods in org.apache.maven.project that return types with arguments of type ModelProblem Modifier and Type Method Description java.util.List<ModelProblem>
DefaultProjectBuildingResult. getProblems()
java.util.List<ModelProblem>
ProjectBuildingResult. getProblems()
Gets the problems that were encountered during the project building.Constructor parameters in org.apache.maven.project with type arguments of type ModelProblem Constructor Description DefaultProjectBuildingResult(java.lang.String projectId, java.io.File pomFile, java.util.List<ModelProblem> problems)
Creates a new result with the specified contents.DefaultProjectBuildingResult(MavenProject project, java.util.List<ModelProblem> problems, DependencyResolutionResult dependencyResolutionResult)
Creates a new result with the specified contents. -
Uses of ModelProblem in org.apache.maven.project.artifact
Methods in org.apache.maven.project.artifact that return ModelProblem Modifier and Type Method Description private ModelProblem
MavenMetadataSource. hasMissingParentPom(ProjectBuildingException e)
-