Package net.openosrs.api.dispatch
Enum SubmissionStatus
- java.lang.Object
-
- java.lang.Enum<SubmissionStatus>
-
- net.openosrs.api.dispatch.SubmissionStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SubmissionStatus>
public enum SubmissionStatus extends java.lang.Enum<SubmissionStatus>
Submission is not an observed game outcome.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REJECTED_BUSYREJECTED_CONTEXTREJECTED_INVALID_INPUTREJECTED_NOT_LOGGED_INREJECTED_STALE_TARGETREJECTED_UNSUPPORTED_ACTIONREJECTED_WRONG_THREADSUBMITTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SubmissionStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SubmissionStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUBMITTED
public static final SubmissionStatus SUBMITTED
-
REJECTED_WRONG_THREAD
public static final SubmissionStatus REJECTED_WRONG_THREAD
-
REJECTED_NOT_LOGGED_IN
public static final SubmissionStatus REJECTED_NOT_LOGGED_IN
-
REJECTED_CONTEXT
public static final SubmissionStatus REJECTED_CONTEXT
-
REJECTED_STALE_TARGET
public static final SubmissionStatus REJECTED_STALE_TARGET
-
REJECTED_UNSUPPORTED_ACTION
public static final SubmissionStatus REJECTED_UNSUPPORTED_ACTION
-
REJECTED_INVALID_INPUT
public static final SubmissionStatus REJECTED_INVALID_INPUT
-
REJECTED_BUSY
public static final SubmissionStatus REJECTED_BUSY
-
-
Method Detail
-
values
public static SubmissionStatus[] 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 (SubmissionStatus c : SubmissionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubmissionStatus 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
-
-