Package net.opengis.sps.v_2_0
Enum TaskStatusCodeEnumerationType
- java.lang.Object
-
- java.lang.Enum<TaskStatusCodeEnumerationType>
-
- net.opengis.sps.v_2_0.TaskStatusCodeEnumerationType
-
- All Implemented Interfaces:
Serializable,Comparable<TaskStatusCodeEnumerationType>
public enum TaskStatusCodeEnumerationType extends Enum<TaskStatusCodeEnumerationType>
Java class for TaskStatusCodeEnumerationType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TaskStatusCodeEnumerationType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Cancelled"/> <enumeration value="Completed"/> <enumeration value="Expired"/> <enumeration value="Failed"/> <enumeration value="InExecution"/> <enumeration value="Reserved"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDTask was cancelled; this code identifies a subcategory of the final state in the task state machine.COMPLETEDTask was completed as planned; this code identifies a subcategory of the final state in the task state machine.EXPIREDTask reservation expired; this code identifies a subcategory of the final state in the task state machine.FAILEDTask failed; this code identifies a subcategory of the final state in the task state machine.IN_EXECUTIONTask is executed by the service.RESERVEDTask is reserved at the service.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskStatusCodeEnumerationTypefromValue(String v)Stringvalue()static TaskStatusCodeEnumerationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TaskStatusCodeEnumerationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANCELLED
public static final TaskStatusCodeEnumerationType CANCELLED
Task was cancelled; this code identifies a subcategory of the final state in the task state machine.
-
COMPLETED
public static final TaskStatusCodeEnumerationType COMPLETED
Task was completed as planned; this code identifies a subcategory of the final state in the task state machine.
-
EXPIRED
public static final TaskStatusCodeEnumerationType EXPIRED
Task reservation expired; this code identifies a subcategory of the final state in the task state machine.
-
FAILED
public static final TaskStatusCodeEnumerationType FAILED
Task failed; this code identifies a subcategory of the final state in the task state machine.
-
IN_EXECUTION
public static final TaskStatusCodeEnumerationType IN_EXECUTION
Task is executed by the service.
-
RESERVED
public static final TaskStatusCodeEnumerationType RESERVED
Task is reserved at the service.
-
-
Method Detail
-
values
public static TaskStatusCodeEnumerationType[] 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 (TaskStatusCodeEnumerationType c : TaskStatusCodeEnumerationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskStatusCodeEnumerationType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static TaskStatusCodeEnumerationType fromValue(String v)
-
-