Class ScriptSchedulerServiceImpl
java.lang.Object
ch.tocco.nice2.scripting.impl.groovy.cron.ScriptSchedulerServiceImpl
- All Implemented Interfaces:
ScriptSchedulerService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
removeScheduledScript
(PrimaryKey scriptKey) remove a scheduled script from the task queuevoid
scheduleScript
(Entity scriptEntity) schedule a script to run at its defined schedule
-
Constructor Details
-
ScriptSchedulerServiceImpl
-
-
Method Details
-
scheduleScript
Description copied from interface:ScriptSchedulerService
schedule a script to run at its defined schedule- Specified by:
scheduleScript
in interfaceScriptSchedulerService
- Parameters:
scriptEntity
- the script to schedule
-
removeScheduledScript
Description copied from interface:ScriptSchedulerService
remove a scheduled script from the task queue- Specified by:
removeScheduledScript
in interfaceScriptSchedulerService
- Parameters:
scriptKey
- the key of the script to remove
-