org.schmant.arg
Class NotInterpretedObject

java.lang.Object
  extended by 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

Constructor Summary
NotInterpretedObject(Object o, List<String> trace)
           
 
Method Summary
 Object getObject()
          Get the object that the ArgumentInterpreter was not able to interpret.
 List<String> getTrace()
          Get the interpretation trace that tells what the ArgumentInterpreter did to try to interpret the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotInterpretedObject

public NotInterpretedObject(Object o,
                            List<String> trace)
Method Detail

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.