public enum TaskStatusEnum extends Enum<TaskStatusEnum>
Java class for TaskStatusEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TaskStatusEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="unsubmitted"/> <enumeration value="submitted"/> <enumeration value="processing"/> <enumeration value="finished"/> <enumeration value="failed"/> <enumeration value="undefined"/> <enumeration value="cancelled"/> <enumeration value="deleted"/> </restriction> </simpleType>
Enum Constant and Description |
---|
CANCELLED |
DELETED |
FAILED |
FINISHED |
PROCESSING |
SUBMITTED |
UNDEFINED |
UNSUBMITTED |
Modifier and Type | Method and Description |
---|---|
static TaskStatusEnum |
fromValue(String v) |
String |
value() |
static TaskStatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskStatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskStatusEnum UNSUBMITTED
public static final TaskStatusEnum SUBMITTED
public static final TaskStatusEnum PROCESSING
public static final TaskStatusEnum FINISHED
public static final TaskStatusEnum FAILED
public static final TaskStatusEnum UNDEFINED
public static final TaskStatusEnum CANCELLED
public static final TaskStatusEnum DELETED
public static TaskStatusEnum[] values()
for (TaskStatusEnum c : TaskStatusEnum.values()) System.out.println(c);
public static TaskStatusEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static TaskStatusEnum fromValue(String v)
Copyright © 2010–2017. All rights reserved.