Interface ScheduleTaskControl
Container providing means to control a task.
- Since:
- 5.2.14
-
Method Summary
Modifier and TypeMethodDescription<A> A
getAspect
(ScheduleTaskAspectType<A> type) Provides aspects of the underlying task.Provides a description of the task.int
getIndex()
Provides the index of the task with respect to the execution chain.getName()
Provides the name of the task.getState()
Provides the current execution state of the task.boolean
Indicates the task being done.
-
Method Details
-
getAspect
Provides aspects of the underlying task.- Parameters:
type
- The aspect type.- Returns:
- The aspect or
null
, if not supported by the task. - Since:
- 5.2.301
-
getIndex
int getIndex()Provides the index of the task with respect to the execution chain.- Returns:
- The task's index.
- Since:
- 5.2.14
-
getName
Provides the name of the task.- Returns:
- The task's name.
- Since:
- 5.2.14
-
getDescription
Provides a description of the task.- Returns:
- The task's description.
- Since:
- 5.2.14
-
isFinished
boolean isFinished()Indicates the task being done.- Returns:
true
, if finished.- Since:
- 5.2.14
-
getState
Provides the current execution state of the task.- Returns:
- The execution state.
- Since:
- 5.2.14
-