Package org.apache.maven.model.building
Class ModelProblemCollectorRequest
- java.lang.Object
-
- org.apache.maven.model.building.ModelProblemCollectorRequest
-
public final class ModelProblemCollectorRequest extends java.lang.ObjectClass 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.ExceptiongetException()org.apache.maven.model.InputLocationgetLocation()java.lang.StringgetMessage()ModelProblem.SeveritygetSeverity()ModelProblem.VersiongetVersion()ModelProblemCollectorRequestsetException(java.lang.Exception exception)ModelProblemCollectorRequestsetLocation(org.apache.maven.model.InputLocation location)ModelProblemCollectorRequestsetMessage(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)
-
-