org.apache.camel.component.salesforce.api.dto.bulk
Enum BatchStateEnum
java.lang.Object
java.lang.Enum<BatchStateEnum>
org.apache.camel.component.salesforce.api.dto.bulk.BatchStateEnum
- All Implemented Interfaces:
- Serializable, Comparable<BatchStateEnum>
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>
QUEUED
public static final BatchStateEnum QUEUED
IN_PROGRESS
public static final BatchStateEnum IN_PROGRESS
COMPLETED
public static final BatchStateEnum COMPLETED
FAILED
public static final BatchStateEnum FAILED
NOT_PROCESSED
public static final BatchStateEnum NOT_PROCESSED
values
public static BatchStateEnum[] 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 (BatchStateEnum c : BatchStateEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BatchStateEnum 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 name
NullPointerException
- if the argument is null
value
public String value()
fromValue
public static BatchStateEnum fromValue(String v)
Apache Camel