org.schmant.arg
Class NotInterpretedObject
java.lang.Object
org.schmant.arg.NotInterpretedObject
public class NotInterpretedObject
- extends Object
This immutable object contains an object that the ArgumentInterpreter
was not able to interpret, as well as the interpretation trace that contains
information about what the ArgumentInterpreter did to try to
interpret the object.
- Since:
- 1.0
- Author:
- Karl Gustafsson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotInterpretedObject
public NotInterpretedObject(Object o,
List<String> trace)
getObject
public Object getObject()
- Get the object that the
ArgumentInterpreter was not able to
interpret.
- Returns:
- The object.
getTrace
public List<String> getTrace()
- Get the interpretation trace that tells what the
ArgumentInterpreter did to try to interpret the object.
- Returns:
- The interpretation trace.