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