Enum BatchStatus
- All Implemented Interfaces:
Serializable
,Comparable<BatchStatus>
Status for a
Batch
.- Author:
- Samarth Dhruva (samarthd)
-
Enum Constant Summary
Enum ConstantDescriptionThe batch has finished processing.The batch is waiting to hear back from the resource tier for whether or not it has completed processing -
Method Summary
Modifier and TypeMethodDescriptionstatic BatchStatus
Returns the enum constant of this type with the specified name.static BatchStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROCESSING
The batch is waiting to hear back from the resource tier for whether or not it has completed processing -
COMPLETED
The batch has finished processing. This gives no indication about success/failure, as those details are found in the statuses of theBatchItems
themselves.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-