org.apache.maven.model.building
Class ModelProblemCollectorRequest
java.lang.Object
org.apache.maven.model.building.ModelProblemCollectorRequest
public final class ModelProblemCollectorRequest
- extends Object
Class to wrap request parameters to ModelProblemCollector.addProblem
- Author:
- mkleint
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelProblemCollectorRequest
public ModelProblemCollectorRequest(ModelProblem.Severity severity,
ModelProblem.Version version)
- Create a new request with mandatory parameters.
- Parameters:
severity
- version
-
getSeverity
public ModelProblem.Severity getSeverity()
getVersion
public ModelProblem.Version getVersion()
getException
public Exception getException()
setException
public ModelProblemCollectorRequest setException(Exception exception)
getMessage
public String getMessage()
setMessage
public ModelProblemCollectorRequest setMessage(String message)
getLocation
public InputLocation getLocation()
setLocation
public ModelProblemCollectorRequest setLocation(InputLocation location)
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.