org.springframework.shell.core
Class ExitShellRequest
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
getExitCode
public int getExitCode()