org.springframework.roo.shell
Class ExitShellRequest

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

public final 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.

Author:
Ben Alex

Field Summary
static ExitShellRequest EXIT_AND_RESTART
           
static ExitShellRequest EXIT_AND_RESTART_AFTER_ADDON_UNINSTALL
          indicates that on Windows the work dir should be cleaned out and restored (ROO-357)
static ExitShellRequest FATAL_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

EXIT_AND_RESTART

public static final ExitShellRequest EXIT_AND_RESTART

EXIT_AND_RESTART_AFTER_ADDON_UNINSTALL

public static final ExitShellRequest EXIT_AND_RESTART_AFTER_ADDON_UNINSTALL
indicates that on Windows the work dir should be cleaned out and restored (ROO-357)

Method Detail

getExitCode

public int getExitCode()


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.