This commit is contained in:
Phillip Webb 2021-08-27 22:34:37 -07:00
parent 2095991ff0
commit b1b3bdc9b1

View File

@ -71,6 +71,15 @@ public class QuartzEndpoint {
private final Sanitizer sanitizer;
/**
* Create an instance for the specified {@link Scheduler} using a default
* {@link Sanitizer}.
* @param scheduler the scheduler to use to retrieve jobs and triggers details
*/
public QuartzEndpoint(Scheduler scheduler) {
this(scheduler, new Sanitizer());
}
/**
* Create an instance for the specified {@link Scheduler} and {@link Sanitizer}.
* @param scheduler the scheduler to use to retrieve jobs and triggers details
@ -83,15 +92,6 @@ public class QuartzEndpoint {
this.sanitizer = sanitizer;
}
/**
* Create an instance for the specified {@link Scheduler} using a default
* {@link Sanitizer}.
* @param scheduler the scheduler to use to retrieve jobs and triggers details
*/
public QuartzEndpoint(Scheduler scheduler) {
this(scheduler, new Sanitizer());
}
/**
* Return the available job and trigger group names.
* @return a report of the available group names