public class PluginRestoreUpdateCenter.PluginRestoreJob
extends 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, hudson.model.UpdateCenter.DownloadJob.SuccessButRequiresRestart| Constructor and Description |
|---|
PluginRestoreJob(hudson.model.UpdateSite site,
org.acegisecurity.Authentication auth,
hudson.model.UpdateSite.Plugin plugin,
String version) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_run() |
protected File |
getDestination() |
String |
getName() |
protected URL |
getURL() |
protected void |
onSuccess() |
String |
toString() |
getComputedSHA1, getUser, replace, runpublic PluginRestoreJob(hudson.model.UpdateSite site,
org.acegisecurity.Authentication auth,
hudson.model.UpdateSite.Plugin plugin,
String version)
protected URL getURL() throws MalformedURLException
getURL in class hudson.model.UpdateCenter.DownloadJobMalformedURLExceptionprotected File getDestination()
getDestination in class hudson.model.UpdateCenter.DownloadJobpublic String getName()
getName in class hudson.model.UpdateCenter.DownloadJobprotected void onSuccess()
onSuccess in class hudson.model.UpdateCenter.DownloadJobprotected void _run()
throws IOException,
hudson.model.UpdateCenter.DownloadJob.InstallationStatus
_run in class hudson.model.UpdateCenter.DownloadJobIOExceptionhudson.model.UpdateCenter.DownloadJob.InstallationStatusCopyright © 2016–2020. All rights reserved.