Class ExecutionContext
- java.lang.Object
-
- com.github.kagkarlsson.scheduler.task.ExecutionContext
-
public class ExecutionContext extends Object
-
-
Constructor Summary
Constructors Constructor Description ExecutionContext(SchedulerState schedulerState, Execution execution, SchedulerClient schedulerClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutiongetExecution()SchedulerClientgetSchedulerClient()Primarily enables ExecutionHandlers to schedule new tasks.SchedulerStategetSchedulerState()
-
-
-
Constructor Detail
-
ExecutionContext
public ExecutionContext(SchedulerState schedulerState, Execution execution, SchedulerClient schedulerClient)
-
-
Method Detail
-
getSchedulerState
public SchedulerState getSchedulerState()
-
getSchedulerClient
public SchedulerClient getSchedulerClient()
Primarily enables ExecutionHandlers to schedule new tasks. Can not be used to modify the "current" execution.
-
getExecution
public Execution getExecution()
-
-