Package org.codice.ddf.activities
Enum Class ActivityEvent.ActivityStatus
- All Implemented Interfaces:
Serializable,Comparable<ActivityEvent.ActivityStatus>,Constable
- Enclosing class:
ActivityEvent
Status enumerations for an activity. Describes the various states an activity can be in.
STARTED - Initial status, the activity is in the process of starting up and is not RUNNING yet.
RUNNING - Main state used to describe that the activity is currently active and performing the activity.
FINISHED - The activity has finished its processing and will not send any more statuses.
STOPPED - The activity has stopped running before finishing and cannot be resumed.
PAUSED - The activity has been paused before finishing and can be resumed.
FAILED - The activity suffered a failure before finishing and cannot be resumed.
STARTED - Initial status, the activity is in the process of starting up and is not RUNNING yet.
RUNNING - Main state used to describe that the activity is currently active and performing the activity.
FINISHED - The activity has finished its processing and will not send any more statuses.
STOPPED - The activity has stopped running before finishing and cannot be resumed.
PAUSED - The activity has been paused before finishing and can be resumed.
FAILED - The activity suffered a failure before finishing and cannot be resumed.
-
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 TypeMethodDescriptionstatic ActivityEvent.ActivityStatusReturns the enum constant of this class with the specified name.static ActivityEvent.ActivityStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STARTED
-
RUNNING
-
COMPLETE
-
STOPPED
-
PAUSED
-
FAILED
-
-
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
-