Enum Class IiziGoInstances.DerbyExit
- All Implemented Interfaces:
Serializable, Comparable<IiziGoInstances.DerbyExit>, Constable
- Enclosing class:
IiziGoInstances
What an exiting iiziGo does with the Derby network server (R-D-16).
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLeave it running: another live iiziGo uses it.Nothing: auto-stop is off, or no Derby of an iiziGo runs.Stop the Derby an earlier iiziGo started and left running for the others: this one is the last out.Stop the Derby this iiziGo started.Method Summary
Modifier and TypeMethodDescriptionstatic IiziGoInstances.DerbyExitReturns the enum constant of this class with the specified name.static IiziGoInstances.DerbyExit[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
NONE
Nothing: auto-stop is off, or no Derby of an iiziGo runs.STOP_OWN
Stop the Derby this iiziGo started.STOP_LEFT_BY_OTHER
Stop the Derby an earlier iiziGo started and left running for the others: this one is the last out.LEAVE_FOR_OTHERS
Leave it running: another live iiziGo uses it.
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