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:
java.lang.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, java.lang.String version)
           
 
Method Summary
protected  void _run()
           
protected  java.io.File getDestination()
           
 java.lang.String getName()
           
protected  java.net.URL getURL()
           
protected  void onSuccess()
           
 java.lang.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,
                                                  java.lang.String version)
Method Detail

getURL

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

getDestination

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

getName

public java.lang.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 java.lang.String toString()
Overrides:
toString in class java.lang.Object

_run

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


Copyright © 2004-2013. All Rights Reserved.