org.jenkinsci.plugins.externalscheduler
Class RemoteUpdater

java.lang.Object
  extended by java.util.TimerTask
      extended by hudson.triggers.SafeTimerTask
          extended by hudson.model.PeriodicWork
              extended by org.jenkinsci.plugins.externalscheduler.RemoteUpdater
All Implemented Interfaces:
hudson.ExtensionPoint, Runnable

public class RemoteUpdater
extends hudson.model.PeriodicWork

Update state periodically

Author:
ogondza

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.PeriodicWork
DAY, HOUR, logger, MIN
 
Constructor Summary
RemoteUpdater(ExternalScheduler scheduler)
           
 
Method Summary
protected  void doRun()
           
 long getInitialDelay()
           
 long getRecurrencePeriod()
           
 
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
 

Constructor Detail

RemoteUpdater

public RemoteUpdater(ExternalScheduler scheduler)
Method Detail

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.