org.jenkins.ci.plugins
Class PersistentBuildQueuePeriodicWork
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
org.jenkins.ci.plugins.PersistentBuildQueuePeriodicWork
- All Implemented Interfaces:
- hudson.ExtensionPoint, java.lang.Runnable
@Extension
public final class PersistentBuildQueuePeriodicWork
- extends hudson.model.PeriodicWork
A very simple PeriodicWork
which requests
PersistentBuildQueue
to schedule persisted jobs. It is up to
PersistentBuildQueue
not to do this more than once per Jenkins
restart.
- Since:
- 1.0
- Author:
- Jesse Farinacci
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.model.PeriodicWork |
DAY, HOUR, logger, MIN |
Methods inherited from class hudson.model.PeriodicWork |
all |
Methods inherited from class hudson.triggers.SafeTimerTask |
run |
Methods inherited from class java.util.TimerTask |
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentBuildQueuePeriodicWork
public PersistentBuildQueuePeriodicWork()
doRun
protected void doRun()
throws java.lang.Exception
- Specified by:
doRun
in class hudson.triggers.SafeTimerTask
- Throws:
java.lang.Exception
getInitialDelay
public long getInitialDelay()
- Overrides:
getInitialDelay
in class hudson.model.PeriodicWork
getRecurrencePeriod
public long getRecurrencePeriod()
- Specified by:
getRecurrencePeriod
in class hudson.model.PeriodicWork
Copyright © 2004-2011. All Rights Reserved.