Package net.ideahut.springboot.job
Interface SchedulerHandler
- All Known Implementing Classes:
SchedulerHandlerImpl
public interface SchedulerHandler
-
Method Summary
Modifier and TypeMethodDescriptionnet.ideahut.springboot.job.JobTriggerDtonet.ideahut.springboot.job.JobTriggerDtoList<net.ideahut.springboot.job.JobGroupDto>org.quartz.SchedulerMetaDatametadata()packages()net.ideahut.springboot.job.JobTriggerDtonet.ideahut.springboot.job.JobTriggerDtobooleanrunning()booleanstart()status(Collection<String> triggerIds) booleanstop(boolean waitForJobsToComplete) net.ideahut.springboot.job.JobTriggerDtoList<net.ideahut.springboot.job.JobGroupDto>triggers(Boolean isActive, Collection<String> groupIds)
-
Method Details
-
packages
-
groups
List<net.ideahut.springboot.job.JobGroupDto> groups(Boolean isActive) throws org.quartz.SchedulerException - Throws:
org.quartz.SchedulerException
-
triggers
List<net.ideahut.springboot.job.JobGroupDto> triggers(Boolean isActive, Collection<String> groupIds) throws org.quartz.SchedulerException - Throws:
org.quartz.SchedulerException
-
start
boolean start() throws org.quartz.SchedulerException- Throws:
org.quartz.SchedulerException
-
stop
boolean stop(boolean waitForJobsToComplete) throws org.quartz.SchedulerException - Throws:
org.quartz.SchedulerException
-
running
boolean running() throws org.quartz.SchedulerException- Throws:
org.quartz.SchedulerException
-
metadata
org.quartz.SchedulerMetaData metadata() throws org.quartz.SchedulerException- Throws:
org.quartz.SchedulerException
-
pause
net.ideahut.springboot.job.JobTriggerDto pause(String triggerId) throws org.quartz.SchedulerException - Throws:
org.quartz.SchedulerException
-
resume
net.ideahut.springboot.job.JobTriggerDto resume(String triggerId) throws org.quartz.SchedulerException - Throws:
org.quartz.SchedulerException
-
trigger
net.ideahut.springboot.job.JobTriggerDto trigger(String triggerId) throws org.quartz.SchedulerException - Throws:
org.quartz.SchedulerException
-
delete
net.ideahut.springboot.job.JobTriggerDto delete(String triggerId) throws org.quartz.SchedulerException - Throws:
org.quartz.SchedulerException
-
add
- Throws:
org.quartz.SchedulerException
-
status
Map<String,net.ideahut.springboot.job.JobTriggerDto.Status> status(Collection<String> triggerIds) throws org.quartz.SchedulerException - Throws:
org.quartz.SchedulerException
-