Enum Class CustomHandlerServer.ShutdownOutcome
java.lang.Object
java.lang.Enum<CustomHandlerServer.ShutdownOutcome>
com.fortemate.dicechess.runtime.CustomHandlerServer.ShutdownOutcome
- All Implemented Interfaces:
Serializable, Comparable<CustomHandlerServer.ShutdownOutcome>, Constable
- Enclosing class:
CustomHandlerServer
public static enum CustomHandlerServer.ShutdownOutcome
extends Enum<CustomHandlerServer.ShutdownOutcome>
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo token, or the call did not succeed: further deliveries were answered with a resignation instead.play-api acceptedPOST /bot/games/resign-all; every game was conceded. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CustomHandlerServer.ShutdownOutcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESIGNED_ALL
play-api acceptedPOST /bot/games/resign-all; every game was conceded. -
DRAINED
No token, or the call did not succeed: further deliveries were answered with a resignation instead.
-
-
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
-