public enum StatusType extends Enum<StatusType>
Java class for statusType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="statusType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Created"/>
<enumeration value="Ready"/>
<enumeration value="Reserved"/>
<enumeration value="InProgress"/>
<enumeration value="Completed"/>
<enumeration value="Failed"/>
<enumeration value="Error"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
COMPLETED |
CREATED |
ERROR |
FAILED |
IN_PROGRESS |
READY |
RESERVED |
| Modifier and Type | Method and Description |
|---|---|
static StatusType |
fromValue(String v) |
String |
value() |
static StatusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusType CREATED
public static final StatusType READY
public static final StatusType RESERVED
public static final StatusType IN_PROGRESS
public static final StatusType COMPLETED
public static final StatusType FAILED
public static final StatusType ERROR
public static StatusType[] values()
for (StatusType c : StatusType.values()) System.out.println(c);
public static StatusType 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 StatusType fromValue(String v)
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.