Enum AmountInputService.Status
- java.lang.Object
-
- java.lang.Enum<AmountInputService.Status>
-
- net.openosrs.api.service.dialogue.AmountInputService.Status
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AmountInputService.Status>
- Enclosing class:
- AmountInputService
public static enum AmountInputService.Status extends java.lang.Enum<AmountInputService.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDFAILEDINPUT_CLOSEDSUBMITTEDTIMED_OUTWAITING_INPUT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AmountInputService.StatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AmountInputService.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WAITING_INPUT
public static final AmountInputService.Status WAITING_INPUT
-
SUBMITTED
public static final AmountInputService.Status SUBMITTED
-
INPUT_CLOSED
public static final AmountInputService.Status INPUT_CLOSED
-
CANCELLED
public static final AmountInputService.Status CANCELLED
-
TIMED_OUT
public static final AmountInputService.Status TIMED_OUT
-
FAILED
public static final AmountInputService.Status FAILED
-
-
Method Detail
-
values
public static AmountInputService.Status[] 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 (AmountInputService.Status c : AmountInputService.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AmountInputService.Status 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
-
-