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 TypeMethodDescriptionlongThe id of the currentcontrol@NotNull ScheduleTaskgetTask()Returns theScheduleTaskfor this contextintReturns the index of the current task in theScheduleEntryMethods inherited from interface de.espirit.firstspirit.access.BaseContext
is, logDebug, logError, logError, logInfo, logWarningMethods 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 theScheduleTaskfor this context- Returns:
- The
ScheduleTaskfor 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
-