org.apache.maven.model.building
Class ModelProblemCollectorRequest

java.lang.Object
  extended by org.apache.maven.model.building.ModelProblemCollectorRequest

public final class ModelProblemCollectorRequest
extends Object

Class to wrap request parameters to ModelProblemCollector.addProblem

Author:
mkleint

Constructor Summary
ModelProblemCollectorRequest(ModelProblem.Severity severity, ModelProblem.Version version)
          Create a new request with mandatory parameters.
 
Method Summary
 Exception getException()
           
 InputLocation getLocation()
           
 String getMessage()
           
 ModelProblem.Severity getSeverity()
           
 ModelProblem.Version getVersion()
           
 ModelProblemCollectorRequest setException(Exception exception)
           
 ModelProblemCollectorRequest setLocation(InputLocation location)
           
 ModelProblemCollectorRequest setMessage(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 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.