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
statusFields inherited from class hudson.model.UpdateCenter.UpdateCenterJob
error, id, site -
Constructor Summary
ConstructorsConstructorDescriptionPluginRestoreJob(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, runMethods 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:
getURLin classUpdateCenter.DownloadJob- Throws:
MalformedURLException
-
getDestination
- Specified by:
getDestinationin classUpdateCenter.DownloadJob
-
getName
- Specified by:
getNamein classUpdateCenter.DownloadJob
-
onSuccess
protected void onSuccess()- Specified by:
onSuccessin classUpdateCenter.DownloadJob
-
toString
-
_run
- Overrides:
_runin classUpdateCenter.DownloadJob- Throws:
IOExceptionUpdateCenter.DownloadJob.InstallationStatus
-