Package hudson.model
Class UpdateCenter.DownloadJob.SuccessButRequiresRestart
java.lang.Object
java.lang.Throwable
hudson.model.UpdateCenter.DownloadJob.InstallationStatus
hudson.model.UpdateCenter.DownloadJob.Success
hudson.model.UpdateCenter.DownloadJob.SuccessButRequiresRestart
- All Implemented Interfaces:
Serializable
- Enclosing class:
- UpdateCenter.DownloadJob
public class UpdateCenter.DownloadJob.SuccessButRequiresRestart
extends UpdateCenter.DownloadJob.Success
Indicates that the installation was successful but a restart is needed.
- See Also:
-
Field Summary
Fields inherited from class hudson.model.UpdateCenter.DownloadJob.InstallationStatus
id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates that a restart is needed to complete the tasks.Methods inherited from class hudson.model.UpdateCenter.DownloadJob.Success
isSuccess
Methods inherited from class hudson.model.UpdateCenter.DownloadJob.InstallationStatus
getType
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SuccessButRequiresRestart
public SuccessButRequiresRestart(org.jvnet.localizer.Localizable message)
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
requiresRestart
public boolean requiresRestart()Description copied from class:UpdateCenter.DownloadJob.InstallationStatus
Indicates that a restart is needed to complete the tasks.- Overrides:
requiresRestart
in classUpdateCenter.DownloadJob.InstallationStatus
-