public static enum SPCRun.SPCRunStatus extends java.lang.Enum<SPCRun.SPCRunStatus>
Enum Constant and Description |
---|
ABORTED |
COMPLETE |
RUNNING |
SUSPENDED |
Modifier and Type | Method and Description |
---|---|
int |
getInt() |
static SPCRun.SPCRunStatus |
parse(int type) |
java.lang.String |
toString() |
static SPCRun.SPCRunStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SPCRun.SPCRunStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SPCRun.SPCRunStatus ABORTED
public static final SPCRun.SPCRunStatus RUNNING
public static final SPCRun.SPCRunStatus SUSPENDED
public static final SPCRun.SPCRunStatus COMPLETE
public static SPCRun.SPCRunStatus[] values()
for (SPCRun.SPCRunStatus c : SPCRun.SPCRunStatus.values()) System.out.println(c);
public static SPCRun.SPCRunStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SPCRun.SPCRunStatus parse(int type)
public java.lang.String toString()
toString
in class java.lang.Enum<SPCRun.SPCRunStatus>
public int getInt()