Enum WorkStatus
- java.lang.Object
-
- java.lang.Enum<WorkStatus>
-
- uk.ac.warwick.dcs.sherlock.api.component.WorkStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WorkStatus>
public enum WorkStatus extends java.lang.Enum<WorkStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
COMPLETE
INTERRUPTED
MISSING_FILES
NOT_PREPARED
OUTDATED
PREPARED
REGEN_RESULTS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WorkStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_PREPARED
public static final WorkStatus NOT_PREPARED
-
PREPARED
public static final WorkStatus PREPARED
-
ACTIVE
public static final WorkStatus ACTIVE
-
REGEN_RESULTS
public static final WorkStatus REGEN_RESULTS
-
COMPLETE
public static final WorkStatus COMPLETE
-
INTERRUPTED
public static final WorkStatus INTERRUPTED
-
OUTDATED
public static final WorkStatus OUTDATED
-
MISSING_FILES
public static final WorkStatus MISSING_FILES
-
-
Method Detail
-
values
public static WorkStatus[] 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 (WorkStatus c : WorkStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkStatus 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
-
-