Package org.apache.maven.model.building
Class ModelProblemCollectorRequest
java.lang.Object
org.apache.maven.model.building.ModelProblemCollectorRequest
Class to wrap request parameters to ModelProblemCollector.addProblem
- Author:
- mkleint
-
Constructor Summary
ConstructorDescriptionModelProblemCollectorRequest
(ModelProblem.Severity severity, ModelProblem.Version version) Create a new request with mandatory parameters. -
Method Summary
Modifier and TypeMethodDescriptionsetException
(Exception exception) setLocation
(InputLocation location) setMessage
(String message)
-
Constructor Details
-
ModelProblemCollectorRequest
Create a new request with mandatory parameters.- Parameters:
severity
-version
-
-
-
Method Details
-
getSeverity
-
getVersion
-
getException
-
setException
-
getMessage
-
setMessage
-
getLocation
-
setLocation
-