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
-
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
ConstructorDescriptionPluginRestoreJob
(UpdateSite site, org.springframework.security.core.Authentication auth, UpdateSite.Plugin plugin, String version) -
Method Summary
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 Details
-
PluginRestoreJob
public PluginRestoreJob(UpdateSite site, org.springframework.security.core.Authentication auth, UpdateSite.Plugin plugin, String version)
-
-
Method Details
-
getURL
- Specified by:
getURL
in classUpdateCenter.DownloadJob
- Throws:
MalformedURLException
-
getDestination
- Specified by:
getDestination
in classUpdateCenter.DownloadJob
-
getName
- Specified by:
getName
in classUpdateCenter.DownloadJob
-
onSuccess
protected void onSuccess()- Specified by:
onSuccess
in classUpdateCenter.DownloadJob
-
toString
-
_run
- Overrides:
_run
in classUpdateCenter.DownloadJob
- Throws:
IOException
UpdateCenter.DownloadJob.InstallationStatus
-