Interface ScheduleTaskExecutionContext
- All Superinterfaces:
BaseContext
,SpecialistsBroker
Execution context for a task execution, providing specific, task- and job-related agents to access their information.
- Since:
- 5.2.14
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.access.BaseContext
BaseContext.Env
-
Method Summary
Modifier and TypeMethodDescriptionlong
The id of the currentcontrol
@NotNull ScheduleTask
getTask()
Returns theScheduleTask
for this contextint
Returns the index of the current task in theScheduleEntry
Methods inherited from interface de.espirit.firstspirit.access.BaseContext
is, logDebug, logError, logError, logInfo, logWarning
Methods inherited from interface de.espirit.firstspirit.agency.SpecialistsBroker
requestSpecialist, requireSpecialist
-
Method Details
-
getExecutionId
long getExecutionId()The id of the currentcontrol
- Returns:
- The id of the current
control
- Since:
- 5.2.221003
-
getTask
Returns theScheduleTask
for this context- Returns:
- The
ScheduleTask
for this context - Since:
- 5.2.220405
-
getTaskIndex
int getTaskIndex()Returns the index of the current task in theScheduleEntry
- Returns:
- The index of the current task in the
ScheduleEntry
- Since:
- 5.2.220405
-