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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates that a restart is needed to complete the tasks.Methods inherited from class hudson.model.UpdateCenter.DownloadJob.Success
isSuccessMethods inherited from class hudson.model.UpdateCenter.DownloadJob.InstallationStatus
getTypeMethods 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:
getMessagein classThrowable
-
requiresRestart
public boolean requiresRestart()Description copied from class:UpdateCenter.DownloadJob.InstallationStatusIndicates that a restart is needed to complete the tasks.- Overrides:
requiresRestartin classUpdateCenter.DownloadJob.InstallationStatus
-