Enum Class TaskEvent.TaskEventType
java.lang.Object
java.lang.Enum<TaskEvent.TaskEventType>
com.inet.taskplanner.server.api.event.TaskEvent.TaskEventType
- All Implemented Interfaces:
Serializable
,Comparable<TaskEvent.TaskEventType>
,Constable
- Enclosing class:
- TaskEvent
Possible task events
- Since:
- taskplanner 3.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEvent with this type includes aexecutionID
.
This event will come even if the task was deleted while executing.Event with this type includes aexecutionID
.If a modification includes the activation or deactivation of the task, then no extra ACTIVATED or DEACTIVATED events are sent.This event is triggered by the executedJob
s andResultAction
s.
Only in case of this type, the progress of anTaskEvent
will have a meaningful value.
Event with this type includes aexecutionID
. -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskEvent.TaskEventType
Returns the enum constant of this class with the specified name.static TaskEvent.TaskEventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADDED
-
MODIFIED
If a modification includes the activation or deactivation of the task, then no extra ACTIVATED or DEACTIVATED events are sent. -
ACTIVATED
-
DEACTIVATED
-
REMOVED
-
EXECUTION_STARTED
Event with this type includes aexecutionID
. -
PROGRESS
This event is triggered by the executedJob
s andResultAction
s.
Only in case of this type, the progress of anTaskEvent
will have a meaningful value.
Event with this type includes aexecutionID
. -
EXECUTION_ENDED
Event with this type includes aexecutionID
.
This event will come even if the task was deleted while executing.
-
-
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
-