org.springframework.shell.core
Class ExitShellRequest

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

public class ExitShellRequest
extends Object

An immutable representation of a request to exit the shell.

Implementations of the shell are free to handle these requests in whatever way they wish. Callers should not expect an exit request to be completed.


Field Summary
static ExitShellRequest FATAL_EXIT
           
static ExitShellRequest JVM_TERMINATED_EXIT
           
static ExitShellRequest NORMAL_EXIT
           
 
Method Summary
 int getExitCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NORMAL_EXIT

public static final ExitShellRequest NORMAL_EXIT

FATAL_EXIT

public static final ExitShellRequest FATAL_EXIT

JVM_TERMINATED_EXIT

public static final ExitShellRequest JVM_TERMINATED_EXIT
Method Detail

getExitCode

public int getExitCode()