Uses of Interface
org.apache.maven.api.services.ModelProblem
Packages that use ModelProblem
Package
Description
-
Uses of ModelProblem in org.apache.maven.api.services
Methods in org.apache.maven.api.services that return types with arguments of type ModelProblemModifier 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.Methods in org.apache.maven.api.services with parameters of type ModelProblem -
Uses of ModelProblem in org.apache.maven.internal.impl.model
Classes in org.apache.maven.internal.impl.model that implement ModelProblemModifier and TypeClassDescriptionclassDescribes a problem that was encountered during model building.Fields in org.apache.maven.internal.impl.model with type parameters of type ModelProblemModifier and TypeFieldDescriptionprivate final List<ModelProblem> DefaultModelBuilderResult.problemsprivate final Iterable<? extends ModelProblem> Result.problemsMethods in org.apache.maven.internal.impl.model that return types with arguments of type ModelProblemModifier and TypeMethodDescriptionDefaultModelBuilder.ModelBuilderSessionState.getProblems()DefaultModelBuilderResult.getProblems()Returns an unmodifiable list of problems encountered during the model building process.Iterable<? extends ModelProblem> Result.getProblems()Methods in org.apache.maven.internal.impl.model with parameters of type ModelProblemModifier and TypeMethodDescriptionvoidDefaultModelBuilder.ModelBuilderSessionState.add(ModelProblem problem) voidDefaultModelBuilderResult.addProblem(ModelProblem problem) Adds a given problem to the list of problems and propagates it to the parent result if present.static <T> Result<T> Result.addProblem(Result<T> result, ModelProblem problem) New result consisting of given result and new problem.static StringModelProblemUtils.formatLocation(ModelProblem problem, String projectId) Creates a string with all location details for the specified model problem.Method parameters in org.apache.maven.internal.impl.model with type arguments of type ModelProblemModifier 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 causeprivate static booleanResult.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 errorsstatic <T> Result<T> Result.success(T model, Iterable<? extends ModelProblem> problems) Success with warningsConstructor parameters in org.apache.maven.internal.impl.model with type arguments of type ModelProblemModifierConstructorDescriptionprivateResult(boolean errors, T model, Iterable<? extends ModelProblem> problems) -
Uses of ModelProblem in org.apache.maven.project
Methods in org.apache.maven.project with parameters of type ModelProblemModifier and TypeMethodDescriptionprivate static ModelProblemDefaultProjectBuilder.BuildSession.convert(ModelProblem p) Method parameters in org.apache.maven.project with type arguments of type ModelProblemModifier and TypeMethodDescriptionprivate List<ModelProblem> DefaultProjectBuilder.BuildSession.convert(List<ModelProblem> problems)