Package mc.core.model.system
Enum Class ExecutionState
- All Implemented Interfaces:
Serializable,Comparable<ExecutionState>,Constable
not an entity. enum for tracking states of 'executable objects' like workflows or actions. Remodeled for mc4 on
19.12.2005
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutionState[]static ExecutionState[]booleanisEnded()booleanisError()booleanisPaused()booleanisQueued()booleannextState(ExecutionState newState) static ExecutionState[]static ExecutionState[]static ExecutionStateReturns the enum constant of this class with the specified name.static ExecutionState[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NOT_STARTED
-
PAUSED
-
QUEUED
-
STARTING
-
RUNNING
-
ERROR_RUNNING
-
INTERRUPT_REQUESTED
-
COMPLETED
-
ERROR_COMPLETED
-
INTERRUPTED
-
ABORTED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
isEnded
public boolean isEnded() -
isRunning
public boolean isRunning() -
isError
public boolean isError() -
isQueued
public boolean isQueued() -
isPaused
public boolean isPaused() -
runningStates
-
queuedStates
-
abortedStates
-
completedStates
-
nextState
-