Enum Outcome.Status
- All Implemented Interfaces:
Serializable,Comparable<Outcome.Status>,java.lang.constant.Constable
- Enclosing class:
Outcome
Why an action was or was not sent.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe action was sent to the game.Sending was attempted and threw or failed.The target (item, NPC, object, slot) was not there.The game is not in a state where this can be sent yet (interface closed, not logged in).The API declined to send it (not supported on this client, a guard, actions on hold).The unified API cannot do this on this server (Capabilitiessays so). -
Method Summary
Modifier and TypeMethodDescriptionstatic Outcome.StatusReturns the enum constant of this type with the specified name.static Outcome.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DISPATCHED
The action was sent to the game. Its effect still has to be observed. -
UNSUPPORTED
The unified API cannot do this on this server (Capabilitiessays so). Nothing was sent. -
NOT_FOUND
The target (item, NPC, object, slot) was not there. Nothing was sent. -
NOT_READY
The game is not in a state where this can be sent yet (interface closed, not logged in). Nothing was sent. -
REFUSED
The API declined to send it (not supported on this client, a guard, actions on hold). Nothing was sent. -
FAILED
Sending was attempted and threw or failed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-