public enum BatchStateEnum extends Enum<BatchStateEnum>
Java class for BatchStateEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="BatchStateEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Queued"/> <enumeration value="InProgress"/> <enumeration value="Completed"/> <enumeration value="Failed"/> <enumeration value="NotProcessed"/> </restriction> </simpleType>
Enum Constant and Description |
---|
COMPLETED |
FAILED |
IN_PROGRESS |
NOT_PROCESSED |
QUEUED |
Modifier and Type | Method and Description |
---|---|
static BatchStateEnum |
fromValue(String v) |
String |
value() |
static BatchStateEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BatchStateEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchStateEnum QUEUED
public static final BatchStateEnum IN_PROGRESS
public static final BatchStateEnum COMPLETED
public static final BatchStateEnum FAILED
public static final BatchStateEnum NOT_PROCESSED
public static BatchStateEnum[] values()
for (BatchStateEnum c : BatchStateEnum.values()) System.out.println(c);
public static BatchStateEnum 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 BatchStateEnum fromValue(String v)
Apache Camel