Enum DialogueFlowRunner.Failure
- java.lang.Object
-
- java.lang.Enum<DialogueFlowRunner.Failure>
-
- net.openosrs.api.service.dialogue.DialogueFlowRunner.Failure
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DialogueFlowRunner.Failure>
- Enclosing class:
- DialogueFlowRunner
public static enum DialogueFlowRunner.Failure extends java.lang.Enum<DialogueFlowRunner.Failure>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEADLINENONEOWNER_CLOSEDREJECTEDSESSION_CHANGEDUNSUPPORTED_INPUT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DialogueFlowRunner.FailurevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DialogueFlowRunner.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 DialogueFlowRunner.Failure NONE
-
REJECTED
public static final DialogueFlowRunner.Failure REJECTED
-
UNSUPPORTED_INPUT
public static final DialogueFlowRunner.Failure UNSUPPORTED_INPUT
-
DEADLINE
public static final DialogueFlowRunner.Failure DEADLINE
-
OWNER_CLOSED
public static final DialogueFlowRunner.Failure OWNER_CLOSED
-
SESSION_CHANGED
public static final DialogueFlowRunner.Failure SESSION_CHANGED
-
-
Method Detail
-
values
public static DialogueFlowRunner.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 (DialogueFlowRunner.Failure c : DialogueFlowRunner.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 DialogueFlowRunner.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
-
-