Interface ScriptSchedulerService
- All Known Implementing Classes:
ScriptSchedulerServiceImpl
public interface ScriptSchedulerService
used to submit
Dynamic_batch_job
entities as tasks in the task queue-
Method Summary
Modifier and TypeMethodDescriptionvoid
removeScheduledScript
(PrimaryKey scriptEntity) remove a scheduled script from the task queuevoid
scheduleScript
(Entity scriptEntity) schedule a script to run at its defined schedule
-
Method Details
-
scheduleScript
schedule a script to run at its defined schedule- Parameters:
scriptEntity
- the script to schedule
-
removeScheduledScript
remove a scheduled script from the task queue- Parameters:
scriptEntity
- the key of the script to remove
-