Enum Class ServerShell.ExitRefusal

java.lang.Object
java.lang.Enum<ServerShell.ExitRefusal>
com.iizix.server.ServerShell.ExitRefusal
All Implemented Interfaces:
Serializable, Comparable<ServerShell.ExitRefusal>, Constable
Enclosing class:
ServerShell

public static enum ServerShell.ExitRefusal extends Enum<ServerShell.ExitRefusal>
Why an exit request of ServerShell.requestExit(int, String) is refused.
Author:
Christopher Mindus
  • Enum Constant Details

    • UNSUPERVISED

      public static final ServerShell.ExitRefusal UNSUPERVISED
      The server was not started by a supervisor: nothing would relaunch it.
    • DEVELOPMENT_SERVER

      public static final ServerShell.ExitRefusal DEVELOPMENT_SERVER
      iiziGo's development server is never updated: it is pure development.
    • NO_UPDATE_PENDING

      public static final ServerShell.ExitRefusal NO_UPDATE_PENDING
      No update package is pending: none was chosen in ServerAdmin.
    • UPDATE_REQUEST_FAILED

      public static final ServerShell.ExitRefusal UPDATE_REQUEST_FAILED
      The update request file for the updater could not be written (logged).
    • ALREADY_EXITING

      public static final ServerShell.ExitRefusal ALREADY_EXITING
      An exit is under way already.
  • Method Details

    • values

      public static ServerShell.ExitRefusal[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ServerShell.ExitRefusal valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null