Package org.bonitasoft.web.client.model
Enum ArchivedUserTask.StateEnum
- java.lang.Object
-
- java.lang.Enum<ArchivedUserTask.StateEnum>
-
- org.bonitasoft.web.client.model.ArchivedUserTask.StateEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ArchivedUserTask.StateEnum>
- Enclosing class:
- ArchivedUserTask
public static enum ArchivedUserTask.StateEnum extends Enum<ArchivedUserTask.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 ArchivedUserTask.StateEnumfromValue(String value)StringgetValue()StringtoString()static ArchivedUserTask.StateEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ArchivedUserTask.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 ArchivedUserTask.StateEnum INITIALIZING
-
READY
public static final ArchivedUserTask.StateEnum READY
-
EXECUTING
public static final ArchivedUserTask.StateEnum EXECUTING
-
COMPLETING
public static final ArchivedUserTask.StateEnum COMPLETING
-
WAITING
public static final ArchivedUserTask.StateEnum WAITING
-
COMPLETED
public static final ArchivedUserTask.StateEnum COMPLETED
-
FAILED
public static final ArchivedUserTask.StateEnum FAILED
-
SKIPPED
public static final ArchivedUserTask.StateEnum SKIPPED
-
CANCELLED
public static final ArchivedUserTask.StateEnum CANCELLED
-
ABORTED
public static final ArchivedUserTask.StateEnum ABORTED
-
-
Method Detail
-
values
public static ArchivedUserTask.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 (ArchivedUserTask.StateEnum c : ArchivedUserTask.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 ArchivedUserTask.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<ArchivedUserTask.StateEnum>
-
fromValue
public static ArchivedUserTask.StateEnum fromValue(String value)
-
-