Uses of Interface
org.apache.maven.model.building.ModelProblem
Packages that use ModelProblem
Package
Description
-
Uses of ModelProblem in org.apache.maven.exception
Methods in org.apache.maven.exception with parameters of type ModelProblemModifier and TypeMethodDescriptionprivate ExceptionSummary
DefaultExceptionHandler.handle
(ModelProblem problem, String projectId) -
Uses of ModelProblem in org.apache.maven.model.building
Classes in org.apache.maven.model.building that implement ModelProblemModifier and TypeClassDescriptionclass
Describes a problem that was encountered during model building.Fields in org.apache.maven.model.building with type parameters of type ModelProblemModifier and TypeFieldDescriptionprivate List<ModelProblem>
DefaultModelBuildingResult.problems
private List<ModelProblem>
DefaultModelProblemCollector.problems
private final Iterable<? extends ModelProblem>
Result.problems
Methods in org.apache.maven.model.building that return types with arguments of type ModelProblemModifier and TypeMethodDescriptionDefaultModelBuildingResult.getProblems()
DefaultModelProblemCollector.getProblems()
ModelBuildingException.getProblems()
Gets the problems that caused this exception.ModelBuildingResult.getProblems()
Gets the problems that were encountered during the model building.ModelProblemCollectorExt.getProblems()
The collected problems.Iterable<? extends ModelProblem>
Result.getProblems()
Methods in org.apache.maven.model.building with parameters of type ModelProblemModifier and TypeMethodDescriptionvoid
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 String
ModelProblemUtils.formatLocation
(ModelProblem problem, 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 ModelProblemModifier and TypeMethodDescriptionvoid
DefaultModelProblemCollector.addAll
(List<ModelProblem> problems) static <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 causeprivate static boolean
Result.hasErrors
(Iterable<? extends ModelProblem> problems) static <T> Result<T>
Result.newResult
(T model, Iterable<? extends ModelProblem> problems) New result - determine whether error or success by checking problems for errorsDefaultModelBuildingResult.setProblems
(List<ModelProblem> problems) static <T> Result<T>
Result.success
(T model, Iterable<? extends ModelProblem> problems) Success with warningsprivate static String
ModelBuildingException.toMessage
(String modelId, List<ModelProblem> problems) Constructor parameters in org.apache.maven.model.building with type arguments of type ModelProblemModifierConstructorDescriptionModelBuildingException
(Model model, String modelId, List<ModelProblem> problems) Deprecated.private
Result
(boolean errors, T model, Iterable<? extends ModelProblem> problems) -
Uses of ModelProblem in org.apache.maven.project
Fields in org.apache.maven.project with type parameters of type ModelProblemModifier and TypeFieldDescriptionprivate List<ModelProblem>
DefaultProjectBuildingResult.problems
Methods in org.apache.maven.project that return types with arguments of type ModelProblemModifier and TypeMethodDescriptionDefaultProjectBuildingResult.getProblems()
ProjectBuildingResult.getProblems()
Gets the problems that were encountered during the project building.Constructor parameters in org.apache.maven.project with type arguments of type ModelProblemModifierConstructorDescription(package private)
DefaultProjectBuildingResult
(String projectId, File pomFile, List<ModelProblem> problems) Creates a new result with the specified contents.(package private)
DefaultProjectBuildingResult
(MavenProject project, 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 ModelProblemModifier and TypeMethodDescriptionprivate ModelProblem
MavenMetadataSource.hasMissingParentPom
(ProjectBuildingException e)
ModelBuildingException(ModelBuildingResult)
instead.