Enum BulkActionStatus
- java.lang.Object
-
- java.lang.Enum<BulkActionStatus>
-
- org.cyclos.model.users.bulkactions.BulkActionStatus
-
- All Implemented Interfaces:
Serializable,Comparable<BulkActionStatus>,HasMessageKey
public enum BulkActionStatus extends Enum<BulkActionStatus> implements HasMessageKey
The status of the whole bulk action
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageKeygetMessageKey()static BulkActionStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static BulkActionStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUNNING
public static final BulkActionStatus RUNNING
The action is still running
-
FINISHED
public static final BulkActionStatus FINISHED
The action has finished
-
CANCELED
public static final BulkActionStatus CANCELED
The bulk action was canceled
-
-
Method Detail
-
values
public static BulkActionStatus[] 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 (BulkActionStatus c : BulkActionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BulkActionStatus 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
-
getMessageKey
public MessageKey getMessageKey()
- Specified by:
getMessageKeyin interfaceHasMessageKey
-
-