Class Cron
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.AperiodicWork
org.jenkinsci.plugins.parameterizedscheduler.Cron
- All Implemented Interfaces:
ExtensionPoint
,Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.triggers.SafeTimerTask
SafeTimerTask.ExceptionRunnable
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.AperiodicWork
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
long
long
Methods inherited from class hudson.model.AperiodicWork
all, doRun, init
Methods inherited from class hudson.triggers.SafeTimerTask
getLogsRoot, of, run
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Field Details
-
MIN
protected static final long MIN- See Also:
-
-
Constructor Details
-
Cron
public Cron()
-
-
Method Details
-
getNewInstance
- Specified by:
getNewInstance
in classAperiodicWork
-
getRecurrencePeriod
public long getRecurrencePeriod()- Specified by:
getRecurrencePeriod
in classAperiodicWork
-
getInitialDelay
public long getInitialDelay()- Overrides:
getInitialDelay
in classAperiodicWork
-
doAperiodicRun
protected void doAperiodicRun()- Specified by:
doAperiodicRun
in classAperiodicWork
-