Package org.nuxeo.ecm.core.bulk.message
Enum BulkStatus.State
- java.lang.Object
-
- java.lang.Enum<BulkStatus.State>
-
- org.nuxeo.ecm.core.bulk.message.BulkStatus.State
-
- All Implemented Interfaces:
Serializable
,Comparable<BulkStatus.State>
- Enclosing class:
- BulkStatus
public static enum BulkStatus.State extends Enum<BulkStatus.State>
Possible states of a bulk command:
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTED
The command has been aborted, the action might have been partially applied on the document set.COMPLETED
The action has been applied to the document set, the command is completed.RUNNING
The scroller has terminated, the size of the document set is known and action is applied.SCHEDULED
The command has been submitted to the service.SCROLLING_RUNNING
The scroller is running and materialize the document set.UNKNOWN
The command or the status is unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BulkStatus.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static BulkStatus.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final BulkStatus.State UNKNOWN
The command or the status is unknown.
-
SCHEDULED
public static final BulkStatus.State SCHEDULED
The command has been submitted to the service.
-
SCROLLING_RUNNING
public static final BulkStatus.State SCROLLING_RUNNING
The scroller is running and materialize the document set.
-
RUNNING
public static final BulkStatus.State RUNNING
The scroller has terminated, the size of the document set is known and action is applied.
-
COMPLETED
public static final BulkStatus.State COMPLETED
The action has been applied to the document set, the command is completed.
-
ABORTED
public static final BulkStatus.State ABORTED
The command has been aborted, the action might have been partially applied on the document set.
-
-
Method Detail
-
values
public static BulkStatus.State[] 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 (BulkStatus.State c : BulkStatus.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BulkStatus.State 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
-
-