Uses of Interface
org.apache.maven.api.services.ProblemCollector
Packages that use ProblemCollector
Package
Description
Defines core service interfaces that provide essential Maven functionality such as
artifact resolution, dependency management, and build execution.
-
Uses of ProblemCollector in org.apache.maven.api.services
Classes in org.apache.maven.api.services that implement ProblemCollectorModifier and TypeClassDescriptionstatic class
ProblemCollector.Impl<P extends BuilderProblem>
Default implementation of the ProblemCollector interface.Methods in org.apache.maven.api.services that return ProblemCollectorModifier and TypeMethodDescriptionstatic <P extends BuilderProblem>
ProblemCollector<P> ProblemCollector.create
(int maxCountLimit) Creates new instance of problem collector with the specified maximum problem count limit.static <P extends BuilderProblem>
ProblemCollector<P> ProblemCollector.create
(ProtoSession protoSession) Creates new instance of problem collector with configuration from the provided session.static <P extends BuilderProblem>
ProblemCollector<P> ProblemCollector.empty()
Creates an "empty" problem collector that doesn't store any problems.MavenBuilderException.getProblemCollector()
Returns the problem collector associated with this exception.ModelBuilderException.getProblemCollector()
Gets the problems that caused this exception.ModelBuilderResult.getProblemCollector()
Gets the problem collector that collected problems encountered during the project building.ModelProblemCollector.getProblemCollector()
SettingsBuilderResult.getProblems()
Gets the problems that were encountered during the settings building.ToolchainsBuilderResult.getProblems()
Gets the problems that were encountered during the settings building.default ProblemCollector
<BuilderProblem> SettingsBuilder.validate
(org.apache.maven.api.settings.Settings settings) Validate the specified settings.SettingsBuilder.validate
(org.apache.maven.api.settings.Settings settings, boolean isProjectSettings) Validate the specified settings.Methods in org.apache.maven.api.services with parameters of type ProblemCollectorModifier and TypeMethodDescriptionprotected static String
MavenBuilderException.buildMessage
(String message, ProblemCollector<BuilderProblem> problems) Formats message out of problems: problems are sorted (in natural order ofBuilderProblem.Severity
) and then a list is built.Constructors in org.apache.maven.api.services with parameters of type ProblemCollectorModifierConstructorDescriptionMavenBuilderException
(String message, ProblemCollector<BuilderProblem> problems) Constructs a new exception with the specified message and problems.SettingsBuilderException
(String message, ProblemCollector<BuilderProblem> problems) ToolchainsBuilderException
(String message, ProblemCollector<BuilderProblem> problems)