Package hudson.model
Class UpdateCenter.EnableJob
- java.lang.Object
-
- hudson.model.UpdateCenter.UpdateCenterJob
-
- hudson.model.UpdateCenter.DownloadJob
-
- hudson.model.UpdateCenter.InstallationJob
-
- hudson.model.UpdateCenter.EnableJob
-
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
UpdateCenter.NoOpJob
- Enclosing class:
- UpdateCenter
public class UpdateCenter.EnableJob extends UpdateCenter.InstallationJob
Enables a required plugin, provides feedback in the update center
-
-
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.InstallationJob
dynamicLoad, plugin, pm
-
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 EnableJob(UpdateSite site, org.springframework.security.core.Authentication auth, UpdateSite.Plugin plugin, boolean dynamicLoad)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateSite.Plugin
getPlugin()
void
run()
-
Methods inherited from class hudson.model.UpdateCenter.InstallationJob
_run, getContentLength, getDestination, getDisplayName, getName, getURL, onSuccess, replace, toString, wasInstalled
-
Methods inherited from class hudson.model.UpdateCenter.DownloadJob
getComputedSHA1, getComputedSHA256, getComputedSHA512, getUser
-
Methods inherited from class hudson.model.UpdateCenter.UpdateCenterJob
getApi, getCorrelationId, getError, getErrorMessage, getType, schedule, setCorrelationId, submit
-
-
-
-
Constructor Detail
-
EnableJob
public EnableJob(UpdateSite site, org.springframework.security.core.Authentication auth, @NonNull UpdateSite.Plugin plugin, boolean dynamicLoad)
-
-
Method Detail
-
getPlugin
public UpdateSite.Plugin getPlugin()
-
run
public void run()
- Specified by:
run
in interfaceRunnable
- Overrides:
run
in classUpdateCenter.DownloadJob
-
-