org.springframework.shell.core
Class CommandResult

java.lang.Object
  extended by org.springframework.shell.core.CommandResult

public class CommandResult
extends Object


Constructor Summary
CommandResult(boolean success)
           
CommandResult(boolean success, Object result, Throwable exception)
           
 
Method Summary
 Throwable getException()
           
 Object getResult()
           
 boolean isSuccess()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandResult

public CommandResult(boolean success)

CommandResult

public CommandResult(boolean success,
                     Object result,
                     Throwable exception)
Method Detail

isSuccess

public boolean isSuccess()

getResult

public Object getResult()

getException

public Throwable getException()

toString

public String toString()
Overrides:
toString in class Object