org.jenkinsci.plugins.externalscheduler
Class RemoteUpdater
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
org.jenkinsci.plugins.externalscheduler.RemoteUpdater
- All Implemented Interfaces:
- hudson.ExtensionPoint, Runnable
public class RemoteUpdater
- extends hudson.model.PeriodicWork
Update state periodically
- Author:
- ogondza
| 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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteUpdater
public RemoteUpdater(ExternalScheduler scheduler)
doRun
protected void doRun()
throws Exception
- Specified by:
doRun in class hudson.triggers.SafeTimerTask
- Throws:
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-2013. All Rights Reserved.