hudson.model
Class UpdateCenter.InstallationJob
java.lang.Object
hudson.model.UpdateCenter.UpdateCenterJob
hudson.model.UpdateCenter.DownloadJob
hudson.model.UpdateCenter.InstallationJob
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- UpdateCenter
public final class UpdateCenter.InstallationJob
- extends UpdateCenter.DownloadJob
Represents the state of the installation activity of one plugin.
plugin
@Exported
public final UpdateSite.Plugin plugin
- What plugin are we trying to install?
UpdateCenter.InstallationJob
public UpdateCenter.InstallationJob(UpdateSite.Plugin plugin,
UpdateSite site,
org.acegisecurity.Authentication auth)
- Deprecated. as of 1.442
UpdateCenter.InstallationJob
public UpdateCenter.InstallationJob(UpdateSite.Plugin plugin,
UpdateSite site,
org.acegisecurity.Authentication auth,
boolean dynamicLoad)
getURL
protected URL getURL()
throws MalformedURLException
- Description copied from class:
UpdateCenter.DownloadJob
- Where to download the file from.
- Specified by:
getURL
in class UpdateCenter.DownloadJob
- Throws:
MalformedURLException
getDestination
protected File getDestination()
- Description copied from class:
UpdateCenter.DownloadJob
- Where to download the file to.
- Specified by:
getDestination
in class UpdateCenter.DownloadJob
getName
public String getName()
- Specified by:
getName
in class UpdateCenter.DownloadJob
_run
public void _run()
throws IOException,
UpdateCenter.DownloadJob.InstallationStatus
- Overrides:
_run
in class UpdateCenter.DownloadJob
- Throws:
IOException
UpdateCenter.DownloadJob.InstallationStatus
onSuccess
protected void onSuccess()
- Description copied from class:
UpdateCenter.DownloadJob
- Called when the whole thing went successfully.
- Specified by:
onSuccess
in class UpdateCenter.DownloadJob
toString
public String toString()
- Overrides:
toString
in class Object
replace
protected void replace(File dst,
File src)
throws IOException
- Called when the download is completed to overwrite
the old file with the new file.
- Overrides:
replace
in class UpdateCenter.DownloadJob
- Throws:
IOException
Copyright © 2004-2013. All Rights Reserved.