Enum Class TerminatedActivityState.TerminatedState
java.lang.Object
java.lang.Enum<TerminatedActivityState.TerminatedState>
de.aristaflow.adept2.model.runtimeenvironment.TerminatedActivityState.TerminatedState
- All Implemented Interfaces:
Serializable,Comparable<TerminatedActivityState.TerminatedState>,java.lang.constant.Constable
- Enclosing class:
- TerminatedActivityState
public static enum TerminatedActivityState.TerminatedState
extends Enum<TerminatedActivityState.TerminatedState>
An enumeration for the state of an activity after its termination. This
allows to notify the final state of the activity as well as track the
state.
- Author:
- Ulrich Kreher
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLOSED
The activity has terminated and is closed now. -
SUSPENDED
The activity has suspended. There may be an additional timeout specifying when the activity wants to be resumed. -
RESET
The activity has been reset. -
SIGNALLED
The activity has been sent a signal and it has terminated due to this signal. -
FAILED
The component for the activity has failed. There is further information, namely an error message, state and code.
-
-
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
-