org.drupal.project.computing
Enum DRecord.Status
java.lang.Object
java.lang.Enum<DRecord.Status>
org.drupal.project.computing.DRecord.Status
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DRecord.Status>
- Enclosing class:
- DRecord
public static enum DRecord.Status
- extends java.lang.Enum<DRecord.Status>
Status of the record, usually set by the program. See computing.module too.
Method Summary |
static DRecord.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DRecord.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
OKOK
public static final DRecord.Status OKOK
FAIL
public static final DRecord.Status FAIL
RUNG
public static final DRecord.Status RUNG
STOP
public static final DRecord.Status STOP
NRCG
public static final DRecord.Status NRCG
INTR
public static final DRecord.Status INTR
values
public static DRecord.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 (DRecord.Status c : DRecord.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 DRecord.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 name
java.lang.NullPointerException
- if the argument is null