Package step.core.scheduler
Class ExecutionScheduler
java.lang.Object
step.core.scheduler.ExecutionScheduler
-
Field Summary
-
Constructor Summary
ConstructorDescriptionExecutionScheduler
(ControllerSettingAccessor controllerSettingAccessor, ExecutionTaskAccessor executionTaskAccessor, Executor executor) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
disableExecutionTask
(String executionTaskID) void
void
enableExecutionTask
(String executionTaskID) execute
(ExecutionParameters executionParameters) executeExecutionTask
(String executionTaskID, String user) void
registerExecutionSchedulerHook
(ExecutionSchedulerHook executionSchedulerHook) void
removeExecutionTask
(String executionTaskID) void
shutdown()
void
start()
-
Field Details
-
SETTING_SCHEDULER_ENABLED
- See Also:
-
-
Constructor Details
-
ExecutionScheduler
public ExecutionScheduler(ControllerSettingAccessor controllerSettingAccessor, ExecutionTaskAccessor executionTaskAccessor, Executor executor)
-
-
Method Details
-
shutdown
public void shutdown() -
start
public void start() -
getActiveExecutionTasks
-
getActiveAndInactiveExecutionTasks
-
removeExecutionTask
-
enableExecutionTask
-
disableExecutionTask
-
addExecutionTask
-
execute
-
executeExecutionTask
-
get
-
getCurrentExecutions
-
enableAllExecutionTasksSchedule
public void enableAllExecutionTasksSchedule() -
disableAllExecutionTasksSchedule
public void disableAllExecutionTasksSchedule() -
registerExecutionSchedulerHook
-