Enum JobStateEnum
- java.lang.Object
-
- java.lang.Enum<JobStateEnum>
-
- org.apache.camel.component.salesforce.api.dto.bulkv2.JobStateEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<JobStateEnum>
public enum JobStateEnum extends Enum<JobStateEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTED
CLOSED
FAILED
IN_PROGRESS
JOB_COMPLETE
OPEN
UPLOAD_COMPLETE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JobStateEnum
fromValue(String v)
static JobStateEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static JobStateEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPEN
public static final JobStateEnum OPEN
-
CLOSED
public static final JobStateEnum CLOSED
-
UPLOAD_COMPLETE
public static final JobStateEnum UPLOAD_COMPLETE
-
IN_PROGRESS
public static final JobStateEnum IN_PROGRESS
-
ABORTED
public static final JobStateEnum ABORTED
-
JOB_COMPLETE
public static final JobStateEnum JOB_COMPLETE
-
FAILED
public static final JobStateEnum FAILED
-
-
Method Detail
-
values
public static JobStateEnum[] 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 (JobStateEnum c : JobStateEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JobStateEnum 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
-
fromValue
public static JobStateEnum fromValue(String v)
-
-