org.jvnet.hudson.plugins.thinbackup.restore
Class PluginRestoreUpdateCenter.PluginRestoreJob

java.lang.Object
  extended by hudson.model.UpdateCenter.UpdateCenterJob
      extended by hudson.model.UpdateCenter.DownloadJob
          extended by org.jvnet.hudson.plugins.thinbackup.restore.PluginRestoreUpdateCenter.PluginRestoreJob
All Implemented Interfaces:
Runnable
Enclosing class:
PluginRestoreUpdateCenter

public class PluginRestoreUpdateCenter.PluginRestoreJob
extends hudson.model.UpdateCenter.DownloadJob


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.UpdateCenter.DownloadJob
hudson.model.UpdateCenter.DownloadJob.Failure, hudson.model.UpdateCenter.DownloadJob.InstallationStatus, hudson.model.UpdateCenter.DownloadJob.Installing, hudson.model.UpdateCenter.DownloadJob.Pending, hudson.model.UpdateCenter.DownloadJob.Success
 
Field Summary
 
Fields inherited from class hudson.model.UpdateCenter.DownloadJob
id, status
 
Fields inherited from class hudson.model.UpdateCenter.UpdateCenterJob
site
 
Constructor Summary
PluginRestoreUpdateCenter.PluginRestoreJob(hudson.model.UpdateSite site, org.acegisecurity.Authentication auth, hudson.model.UpdateSite.Plugin plugin, String version)
           
 
Method Summary
protected  void _run()
           
protected  File getDestination()
           
 String getName()
           
protected  URL getURL()
           
protected  void onSuccess()
           
 String toString()
           
 
Methods inherited from class hudson.model.UpdateCenter.DownloadJob
getUser, replace, run
 
Methods inherited from class hudson.model.UpdateCenter.UpdateCenterJob
schedule, submit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PluginRestoreUpdateCenter.PluginRestoreJob

public PluginRestoreUpdateCenter.PluginRestoreJob(hudson.model.UpdateSite site,
                                                  org.acegisecurity.Authentication auth,
                                                  hudson.model.UpdateSite.Plugin plugin,
                                                  String version)
Method Detail

getURL

protected URL getURL()
              throws MalformedURLException
Specified by:
getURL in class hudson.model.UpdateCenter.DownloadJob
Throws:
MalformedURLException

getDestination

protected File getDestination()
Specified by:
getDestination in class hudson.model.UpdateCenter.DownloadJob

getName

public String getName()
Specified by:
getName in class hudson.model.UpdateCenter.DownloadJob

onSuccess

protected void onSuccess()
Specified by:
onSuccess in class hudson.model.UpdateCenter.DownloadJob

toString

public String toString()
Overrides:
toString in class Object

_run

protected void _run()
             throws IOException
Overrides:
_run in class hudson.model.UpdateCenter.DownloadJob
Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.