mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 04:22:16 +00:00
Javadoc updates.
This commit is contained in:
1 parent
2beaa95845
commit
2d8bb7c849
1 file changed
+10
-13
@@ -23,27 +23,24 @@
|
||||
*/
|
||||
package hudson.triggers;
|
||||
|
||||
import hudson.model.AperiodicWork;
|
||||
import hudson.model.PeriodicWork;
|
||||
import hudson.security.ACL;
|
||||
import java.util.TimerTask;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
import jenkins.util.Timer;
|
||||
import org.acegisecurity.context.SecurityContext;
|
||||
import org.acegisecurity.context.SecurityContextHolder;
|
||||
|
||||
import java.util.Timer;
|
||||
import java.util.TimerTask;
|
||||
import java.util.logging.Logger;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import hudson.security.ACL;
|
||||
|
||||
/**
|
||||
* {@link Timer} wrapper so that a fatal error in {@link TimerTask}
|
||||
* won't terminate the timer.
|
||||
* Wrapper so that a fatal error in {@link TimerTask} will not terminate the timer.
|
||||
*
|
||||
* <p>
|
||||
* {@link Trigger#timer} is a shared timer instance that can be used inside Hudson to
|
||||
* schedule a recurring work.
|
||||
*
|
||||
* {@link Timer#get} is a shared timer instance that can be used inside Jenkins to schedule recurring work.
|
||||
* But the usual usage is automatic via {@link PeriodicWork} or {@link AperiodicWork}.
|
||||
* @author Kohsuke Kawaguchi
|
||||
* @since 1.124
|
||||
* @see Trigger#timer
|
||||
*/
|
||||
public abstract class SafeTimerTask extends TimerTask {
|
||||
public final void run() {
|
||||
|
||||
Reference in new issue
Block a user