Enum TeleportOperation.Failure
- java.lang.Object
-
- java.lang.Enum<TeleportOperation.Failure>
-
- net.openosrs.api.service.movement.teleports.TeleportOperation.Failure
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TeleportOperation.Failure>
- Enclosing class:
- TeleportOperation
public static enum TeleportOperation.Failure extends java.lang.Enum<TeleportOperation.Failure>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEADLINEEXISTING_DIALOGUENONEOWNER_CLOSEDREJECTEDSESSION_CHANGEDUNAVAILABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TeleportOperation.FailurevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TeleportOperation.Failure[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final TeleportOperation.Failure NONE
-
UNAVAILABLE
public static final TeleportOperation.Failure UNAVAILABLE
-
EXISTING_DIALOGUE
public static final TeleportOperation.Failure EXISTING_DIALOGUE
-
REJECTED
public static final TeleportOperation.Failure REJECTED
-
DEADLINE
public static final TeleportOperation.Failure DEADLINE
-
SESSION_CHANGED
public static final TeleportOperation.Failure SESSION_CHANGED
-
OWNER_CLOSED
public static final TeleportOperation.Failure OWNER_CLOSED
-
-
Method Detail
-
values
public static TeleportOperation.Failure[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TeleportOperation.Failure c : TeleportOperation.Failure.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TeleportOperation.Failure valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-