Package com.github.devmix.process.acto
Enum Class ActiveObjectStatus
- All Implemented Interfaces:
Serializable,Comparable<ActiveObjectStatus>,java.lang.constant.Constable
Represents the possible states of an Active Object in its lifecycle.
- Author:
- Sergey Grachev
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe state of an Active Object indicating that it is ready to handle messages and perform its operations.The state where the Active Object is in the process of transitioning from the ACTIVATED state to DEACTIVATED.The initial state of an Active Object, indicating that it has been created but not yet started.The state where the Active Object is in the process of starting up and initializing.The state of an Active Object indicating that it has ceased handling messages and is not performing its operations.The state where the Active Object is in the process of transitioning from the ACTIVATED state to DEACTIVATED.The final terminal state of an Active Object, indicating that it has been fully destroyed and no longer exists.The state where the Active Object is in the process of transitioning from the STOPPED state to the DESTROYED state.The state of an Active Object after it has completed its startup sequence.The state where the Active Object is transitioning from the CREATED or STOPPED states to the STARTED state.The state of an Active Object indicating that it is shutting down and preparing for destruction.The state where the Active Object is in the process of transitioning from the ACTIVATED or DEACTIVATED states to the STOPPED state. -
Method Summary
Modifier and TypeMethodDescriptionstatic ActiveObjectStatusReturns the enum constant of this class with the specified name.static ActiveObjectStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATED
The initial state of an Active Object, indicating that it has been created but not yet started. -
CREATING
The state where the Active Object is in the process of starting up and initializing. -
STARTED
The state of an Active Object after it has completed its startup sequence. -
STARTING
The state where the Active Object is transitioning from the CREATED or STOPPED states to the STARTED state. -
ACTIVATED
The state of an Active Object indicating that it is ready to handle messages and perform its operations. -
ACTIVATING
The state where the Active Object is in the process of transitioning from the ACTIVATED state to DEACTIVATED. -
DEACTIVATED
The state of an Active Object indicating that it has ceased handling messages and is not performing its operations. -
DEACTIVATING
The state where the Active Object is in the process of transitioning from the ACTIVATED state to DEACTIVATED. -
STOPPED
The state of an Active Object indicating that it is shutting down and preparing for destruction. -
STOPPING
The state where the Active Object is in the process of transitioning from the ACTIVATED or DEACTIVATED states to the STOPPED state. -
DESTROYED
The final terminal state of an Active Object, indicating that it has been fully destroyed and no longer exists. -
DESTROYING
The state where the Active Object is in the process of transitioning from the STOPPED state to the DESTROYED state.
-
-
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
-