Package org.bonitasoft.web.client.model
Enum AbstractArchivedTask.StateEnum
- java.lang.Object
-
- java.lang.Enum<AbstractArchivedTask.StateEnum>
-
- org.bonitasoft.web.client.model.AbstractArchivedTask.StateEnum
-
- All Implemented Interfaces:
Serializable,Comparable<AbstractArchivedTask.StateEnum>
- Enclosing class:
- AbstractArchivedTask
public static enum AbstractArchivedTask.StateEnum extends Enum<AbstractArchivedTask.StateEnum>
the current state of the task
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTEDCANCELLEDCOMPLETEDCOMPLETINGEXECUTINGFAILEDINITIALIZINGREADYSKIPPEDWAITING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AbstractArchivedTask.StateEnumfromValue(String value)StringgetValue()StringtoString()static AbstractArchivedTask.StateEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static AbstractArchivedTask.StateEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INITIALIZING
public static final AbstractArchivedTask.StateEnum INITIALIZING
-
READY
public static final AbstractArchivedTask.StateEnum READY
-
EXECUTING
public static final AbstractArchivedTask.StateEnum EXECUTING
-
COMPLETING
public static final AbstractArchivedTask.StateEnum COMPLETING
-
WAITING
public static final AbstractArchivedTask.StateEnum WAITING
-
COMPLETED
public static final AbstractArchivedTask.StateEnum COMPLETED
-
FAILED
public static final AbstractArchivedTask.StateEnum FAILED
-
SKIPPED
public static final AbstractArchivedTask.StateEnum SKIPPED
-
CANCELLED
public static final AbstractArchivedTask.StateEnum CANCELLED
-
ABORTED
public static final AbstractArchivedTask.StateEnum ABORTED
-
-
Method Detail
-
values
public static AbstractArchivedTask.StateEnum[] 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 (AbstractArchivedTask.StateEnum c : AbstractArchivedTask.StateEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractArchivedTask.StateEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<AbstractArchivedTask.StateEnum>
-
fromValue
public static AbstractArchivedTask.StateEnum fromValue(String value)
-
-