hudson.plugins.simpleupdatesite
Class AsyncSimplUpdateSiteDownloader
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
hudson.model.AsyncPeriodicWork
hudson.plugins.simpleupdatesite.AsyncSimplUpdateSiteDownloader
- All Implemented Interfaces:
- hudson.ExtensionPoint, java.lang.Runnable
@Extension
public class AsyncSimplUpdateSiteDownloader
- extends hudson.model.AsyncPeriodicWork
Class for async periodically download update site content.
- Author:
- JunHo Yoon
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.model.AsyncPeriodicWork |
name |
Fields inherited from class hudson.model.PeriodicWork |
DAY, HOUR, logger, MIN |
Methods inherited from class hudson.model.AsyncPeriodicWork |
createListener, doRun, getLogFile |
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 |
AsyncSimplUpdateSiteDownloader
public AsyncSimplUpdateSiteDownloader()
execute
public void execute(hudson.model.TaskListener listener)
throws java.io.IOException,
java.lang.InterruptedException
- Specified by:
execute
in class hudson.model.AsyncPeriodicWork
- Throws:
java.io.IOException
java.lang.InterruptedException
getRecurrencePeriod
public long getRecurrencePeriod()
- Specified by:
getRecurrencePeriod
in class hudson.model.PeriodicWork
getInitialDelay
public long getInitialDelay()
- Overrides:
getInitialDelay
in class hudson.model.PeriodicWork
getPlugin
protected SimpleUpdateSitePlugIn getPlugin()
Copyright © 2004-2011. All Rights Reserved.