Class PluginRestoreUpdateCenter.PluginRestoreJob
- java.lang.Object
-
- hudson.model.UpdateCenter.UpdateCenterJob
-
- hudson.model.UpdateCenter.DownloadJob
-
- org.jvnet.hudson.plugins.thinbackup.restore.PluginRestoreUpdateCenter.PluginRestoreJob
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- PluginRestoreUpdateCenter
public class PluginRestoreUpdateCenter.PluginRestoreJob extends UpdateCenter.DownloadJob
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.UpdateCenter.DownloadJob
UpdateCenter.DownloadJob.Failure, UpdateCenter.DownloadJob.InstallationStatus, UpdateCenter.DownloadJob.Installing, UpdateCenter.DownloadJob.Pending, UpdateCenter.DownloadJob.Skipped, UpdateCenter.DownloadJob.Success, UpdateCenter.DownloadJob.SuccessButRequiresRestart
-
-
Field Summary
-
Fields inherited from class hudson.model.UpdateCenter.DownloadJob
status
-
Fields inherited from class hudson.model.UpdateCenter.UpdateCenterJob
error, id, site
-
-
Constructor Summary
Constructors Constructor Description PluginRestoreJob(UpdateSite site, org.springframework.security.core.Authentication auth, UpdateSite.Plugin plugin, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
_run()
protected File
getDestination()
String
getName()
protected URL
getURL()
protected void
onSuccess()
String
toString()
-
Methods inherited from class hudson.model.UpdateCenter.DownloadJob
getComputedSHA1, getComputedSHA256, getComputedSHA512, getContentLength, getDisplayName, getUser, replace, run
-
Methods inherited from class hudson.model.UpdateCenter.UpdateCenterJob
getApi, getCorrelationId, getError, getErrorMessage, getType, schedule, setCorrelationId, submit
-
-
-
-
Constructor Detail
-
PluginRestoreJob
public PluginRestoreJob(UpdateSite site, org.springframework.security.core.Authentication auth, UpdateSite.Plugin plugin, String version)
-
-
Method Detail
-
getURL
protected URL getURL() throws MalformedURLException
- Specified by:
getURL
in classUpdateCenter.DownloadJob
- Throws:
MalformedURLException
-
getDestination
protected File getDestination()
- Specified by:
getDestination
in classUpdateCenter.DownloadJob
-
getName
public String getName()
- Specified by:
getName
in classUpdateCenter.DownloadJob
-
onSuccess
protected void onSuccess()
- Specified by:
onSuccess
in classUpdateCenter.DownloadJob
-
_run
protected void _run() throws IOException, UpdateCenter.DownloadJob.InstallationStatus
- Overrides:
_run
in classUpdateCenter.DownloadJob
- Throws:
IOException
UpdateCenter.DownloadJob.InstallationStatus
-
-