Class SpincastScheduledTaskRegistrerDefault
java.lang.Object
org.spincast.plugins.scheduledtasks.SpincastScheduledTaskRegistrerDefault
- All Implemented Interfaces:
ServerStartedListener
,SpincastScheduledTaskRegister
public class SpincastScheduledTaskRegistrerDefault
extends Object
implements SpincastScheduledTaskRegister, ServerStartedListener
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSpincastScheduledTaskRegistrerDefault
(Set<SpincastScheduledTask> scheduledTasks, Set<Set<SpincastScheduledTask>> scheduledTaskSets, org.quartz.Scheduler scheduler, SpincastConfig spincastConfig) -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<SpincastScheduledTask>
protected org.quartz.Scheduler
protected SpincastConfig
void
void
registerScheduledTask
(SpincastScheduledTask scheduledTask) Register aSpincastScheduledTask
on the Scheduler.protected boolean
void
Called after the server ha been started successfully.
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Constructor Details
-
SpincastScheduledTaskRegistrerDefault
@Inject public SpincastScheduledTaskRegistrerDefault(@Nullable Set<SpincastScheduledTask> scheduledTasks, @Nullable Set<Set<SpincastScheduledTask>> scheduledTaskSets, org.quartz.Scheduler scheduler, SpincastConfig spincastConfig)
-
-
Method Details
-
serverStartedSuccessfully
public void serverStartedSuccessfully()Description copied from interface:ServerStartedListener
Called after the server ha been started successfully.- Specified by:
serverStartedSuccessfully
in interfaceServerStartedListener
-
getScheduledTasks
-
getScheduler
protected org.quartz.Scheduler getScheduler() -
getSpincastConfig
-
registerScheduledTask
Description copied from interface:SpincastScheduledTaskRegister
Register aSpincastScheduledTask
on the Scheduler.- Specified by:
registerScheduledTask
in interfaceSpincastScheduledTaskRegister
-
registerBoundedScheduledTasks
public void registerBoundedScheduledTasks() -
registerScheduledTasksInTestingMode
protected boolean registerScheduledTasksInTestingMode()
-