Enum Class ServerShell.ExitRefusal
- All Implemented Interfaces:
Serializable, Comparable<ServerShell.ExitRefusal>, Constable
- Enclosing class:
ServerShell
Why an exit request of
ServerShell.requestExit(int, String) is refused.- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn exit is under way already.iiziGo's development server is never updated: it is pure development.No update package is pending: none was chosen in ServerAdmin.The server was not started by a supervisor: nothing would relaunch it.The update request file for the updater could not be written (logged).Method Summary
Modifier and TypeMethodDescriptionstatic ServerShell.ExitRefusalReturns the enum constant of this class with the specified name.static ServerShell.ExitRefusal[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
UNSUPERVISED
The server was not started by a supervisor: nothing would relaunch it.DEVELOPMENT_SERVER
iiziGo's development server is never updated: it is pure development.NO_UPDATE_PENDING
No update package is pending: none was chosen in ServerAdmin.UPDATE_REQUEST_FAILED
The update request file for the updater could not be written (logged).ALREADY_EXITING
An exit is under way already.
Method Details
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
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 nameNullPointerException- if the argument is null