mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Polish
This commit is contained in:
parent
2095991ff0
commit
b1b3bdc9b1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user