Package org.apache.maven.model.building
Class ModelProblemCollectorRequest
- java.lang.Object
-
- org.apache.maven.model.building.ModelProblemCollectorRequest
-
public final class ModelProblemCollectorRequest extends java.lang.Object
Class to wrap request parameters to ModelProblemCollector.addProblem- Author:
- mkleint
-
-
Constructor Summary
Constructors Constructor Description ModelProblemCollectorRequest(ModelProblem.Severity severity, ModelProblem.Version version)
Create a new request with mandatory parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Exception
getException()
org.apache.maven.model.InputLocation
getLocation()
java.lang.String
getMessage()
ModelProblem.Severity
getSeverity()
ModelProblem.Version
getVersion()
ModelProblemCollectorRequest
setException(java.lang.Exception exception)
ModelProblemCollectorRequest
setLocation(org.apache.maven.model.InputLocation location)
ModelProblemCollectorRequest
setMessage(java.lang.String message)
-
-
-
Constructor Detail
-
ModelProblemCollectorRequest
public ModelProblemCollectorRequest(ModelProblem.Severity severity, ModelProblem.Version version)
Create a new request with mandatory parameters.- Parameters:
severity
-version
-
-
-
Method Detail
-
getSeverity
public ModelProblem.Severity getSeverity()
-
getVersion
public ModelProblem.Version getVersion()
-
getException
public java.lang.Exception getException()
-
setException
public ModelProblemCollectorRequest setException(java.lang.Exception exception)
-
getMessage
public java.lang.String getMessage()
-
setMessage
public ModelProblemCollectorRequest setMessage(java.lang.String message)
-
getLocation
public org.apache.maven.model.InputLocation getLocation()
-
setLocation
public ModelProblemCollectorRequest setLocation(org.apache.maven.model.InputLocation location)
-
-