Class SchedulerServiceImpl
java.lang.Object
net.datenwerke.scheduler.service.scheduler.SchedulerServiceImpl
- All Implemented Interfaces:
SchedulerService
-
Constructor Summary
ConstructorsConstructorDescriptionSchedulerServiceImpl(JobStore defaultStore, <any> schedulerConfig, EventBus eventBus, HookHandlerService hookHandler, <any> injectorProvider, <any> daemonProvider, <any> watchdogProvider, ConfigService configService, <any> securityServiceProvider, <any> authenticatorServiceProvider, ApplicationPropertiesService propertiesService) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidassertJobExecutorChangeAllowed(User previousExecutor, User newExecutor) voidvoiddisable()voidenable()voidforceRemove(AbstractJob job) getJobById(Long id) getJobsBy(JobFilterConfiguration filterConfig) getOwnReportJobList(Report report) getReportJobList(Report report) getReportJobListToCurrentUser(Report report) booleanisActive()booleanbooleanbooleanbooleanbooleanvoidmerge(AbstractJob job) voidremove(AbstractJob job) voidrestart()voidvoidschedule(AbstractJob job, AbstractTrigger trigger) voidschedule(AbstractJob job, AbstractTrigger trigger, AbstractJob previous) voidshutdown()voidvoidstart()voidvoidunschedule(AbstractJob job)
-
Constructor Details
-
Method Details
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceSchedulerService
-
isShutdown
public boolean isShutdown()- Specified by:
isShutdownin interfaceSchedulerService
-
isTerminated
public boolean isTerminated()- Specified by:
isTerminatedin interfaceSchedulerService
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceSchedulerService
-
shutdownNow
- Specified by:
shutdownNowin interfaceSchedulerService
-
isOrderdShutdown
public boolean isOrderdShutdown()- Specified by:
isOrderdShutdownin interfaceSchedulerService
-
restart
- Specified by:
restartin interfaceSchedulerService- Throws:
SchedulerStartupException
-
start
- Specified by:
startin interfaceSchedulerService- Throws:
SchedulerStartupException
-
startWatchdog
public void startWatchdog()- Specified by:
startWatchdogin interfaceSchedulerService
-
isWatchdogActive
public boolean isWatchdogActive()- Specified by:
isWatchdogActivein interfaceSchedulerService
-
restartWatchdog
public void restartWatchdog()- Specified by:
restartWatchdogin interfaceSchedulerService
-
shutdownWatchdog
public void shutdownWatchdog()- Specified by:
shutdownWatchdogin interfaceSchedulerService
-
getJobStore
- Specified by:
getJobStorein interfaceSchedulerService
-
schedule
- Specified by:
schedulein interfaceSchedulerService
-
schedule
- Specified by:
schedulein interfaceSchedulerService
-
unschedule
- Specified by:
unschedulein interfaceSchedulerService
-
clearErrorState
- Specified by:
clearErrorStatein interfaceSchedulerService
-
remove
- Specified by:
removein interfaceSchedulerService
-
forceRemove
- Specified by:
forceRemovein interfaceSchedulerService
-
getJobById
- Specified by:
getJobByIdin interfaceSchedulerService
-
merge
- Specified by:
mergein interfaceSchedulerService
-
getDeamon
- Specified by:
getDeamonin interfaceSchedulerService
-
getJobsBy
- Specified by:
getJobsByin interfaceSchedulerService
-
enable
public void enable()- Specified by:
enablein interfaceSchedulerService
-
disable
public void disable()- Specified by:
disablein interfaceSchedulerService
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceSchedulerService
-
getReportJobList
- Specified by:
getReportJobListin interfaceSchedulerService
-
getOwnReportJobList
- Specified by:
getOwnReportJobListin interfaceSchedulerService
-
getReportJobListFromCurrentUser
- Specified by:
getReportJobListFromCurrentUserin interfaceSchedulerService
-
getReportJobListToCurrentUser
- Specified by:
getReportJobListToCurrentUserin interfaceSchedulerService
-
assertJobExecutorChangeAllowed
public void assertJobExecutorChangeAllowed(User previousExecutor, User newExecutor) throws ViolatedSecurityException - Specified by:
assertJobExecutorChangeAllowedin interfaceSchedulerService- Throws:
ViolatedSecurityException
-
assertJobChangeAllowed
- Specified by:
assertJobChangeAllowedin interfaceSchedulerService- Throws:
ViolatedSecurityException
-