Modifier and Type | Class and Description |
---|---|
static class |
QuartzEndpoint.CalendarIntervalTriggerDescription
A description of a
CalendarIntervalTrigger . |
static class |
QuartzEndpoint.CronTriggerDescription
A description of a
CronTrigger . |
static class |
QuartzEndpoint.CustomTriggerDescription
A description of a custom
Trigger . |
static class |
QuartzEndpoint.DailyTimeIntervalTriggerDescription
A description of a
DailyTimeIntervalTrigger . |
static class |
QuartzEndpoint.GroupNames
A set of group names, primarily intended for serialization to JSON.
|
static class |
QuartzEndpoint.QuartzGroups
A summary for each group identified by name, primarily intended for serialization
to JSON.
|
static class |
QuartzEndpoint.QuartzJobDetails
Details of a
Quartz Job , primarily intended for serialization to JSON. |
static class |
QuartzEndpoint.QuartzJobGroupSummary
A summary report of the
jobs in a given group. |
static class |
QuartzEndpoint.QuartzJobSummary
Details of a
Quartz Job , primarily intended for serialization to JSON. |
static class |
QuartzEndpoint.QuartzReport
A report of available job and trigger group names, primarily intended for
serialization to JSON.
|
static class |
QuartzEndpoint.QuartzTriggerGroupSummary
A summary report of the
triggers in a given group. |
static class |
QuartzEndpoint.SimpleTriggerDescription
A description of a
SimpleTrigger . |
static class |
QuartzEndpoint.TriggerDescription
Base class for descriptions of a
Trigger . |
Constructor and Description |
---|
QuartzEndpoint(org.quartz.Scheduler scheduler)
Create an instance for the specified
Scheduler using a default
Sanitizer . |
QuartzEndpoint(org.quartz.Scheduler scheduler,
Sanitizer sanitizer)
Create an instance for the specified
Scheduler and Sanitizer . |
Modifier and Type | Method and Description |
---|---|
QuartzEndpoint.QuartzJobDetails |
quartzJob(String groupName,
String jobName)
Return the
details of the job identified with the given
group name and job name. |
QuartzEndpoint.QuartzGroups |
quartzJobGroups()
Return the available job names, identified by group name.
|
QuartzEndpoint.QuartzJobGroupSummary |
quartzJobGroupSummary(String group)
Return a summary of the jobs group with the specified name or
null if no
such group exists. |
QuartzEndpoint.QuartzReport |
quartzReport()
Return the available job and trigger group names.
|
Map<String,Object> |
quartzTrigger(String groupName,
String triggerName)
Return the details of the trigger identified by the given group name and trigger
name.
|
QuartzEndpoint.QuartzGroups |
quartzTriggerGroups()
Return the available trigger names, identified by group name.
|
QuartzEndpoint.QuartzTriggerGroupSummary |
quartzTriggerGroupSummary(String group)
Return a summary of the triggers group with the specified name or
null if
no such group exists. |
public QuartzEndpoint(org.quartz.Scheduler scheduler, Sanitizer sanitizer)
Scheduler
and Sanitizer
.scheduler
- the scheduler to use to retrieve jobs and triggers detailssanitizer
- the sanitizer to use to sanitize data mapspublic QuartzEndpoint(org.quartz.Scheduler scheduler)
Scheduler
using a default
Sanitizer
.scheduler
- the scheduler to use to retrieve jobs and triggers details@ReadOperation public QuartzEndpoint.QuartzReport quartzReport() throws org.quartz.SchedulerException
org.quartz.SchedulerException
- if retrieving the information from the scheduler failedpublic QuartzEndpoint.QuartzGroups quartzJobGroups() throws org.quartz.SchedulerException
org.quartz.SchedulerException
- if retrieving the information from the scheduler failedpublic QuartzEndpoint.QuartzGroups quartzTriggerGroups() throws org.quartz.SchedulerException
org.quartz.SchedulerException
- if retrieving the information from the scheduler failedpublic QuartzEndpoint.QuartzJobGroupSummary quartzJobGroupSummary(String group) throws org.quartz.SchedulerException
null
if no
such group exists.group
- the name of a jobs groupgroup
org.quartz.SchedulerException
- if retrieving the information from the scheduler failedpublic QuartzEndpoint.QuartzTriggerGroupSummary quartzTriggerGroupSummary(String group) throws org.quartz.SchedulerException
null
if
no such group exists.group
- the name of a triggers groupgroup
org.quartz.SchedulerException
- if retrieving the information from the scheduler failedpublic QuartzEndpoint.QuartzJobDetails quartzJob(String groupName, String jobName) throws org.quartz.SchedulerException
details of the job
identified with the given
group name and job name.groupName
- the name of the groupjobName
- the name of the jobnull
if such job does not existorg.quartz.SchedulerException
- if retrieving the information from the scheduler failedpublic Map<String,Object> quartzTrigger(String groupName, String triggerName) throws org.quartz.SchedulerException
groupName
- the name of the grouptriggerName
- the name of the triggernull
if such trigger does not existorg.quartz.SchedulerException
- if retrieving the information from the scheduler failed