org.apache.maven.model.building
Class SimpleProblemCollector
java.lang.Object
org.apache.maven.model.building.SimpleProblemCollector
- All Implemented Interfaces:
- ModelProblemCollector
public class SimpleProblemCollector
- extends Object
- implements ModelProblemCollector
A simple model problem collector for testing the model building components.
- Author:
- Benjamin Bentmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleProblemCollector
public SimpleProblemCollector()
getWarnings
public List<String> getWarnings()
getErrors
public List<String> getErrors()
getFatals
public List<String> getFatals()
add
public void add(ModelProblem.Severity severity,
String message,
InputLocation location,
Exception cause)
- Specified by:
add
in interface ModelProblemCollector
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.