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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class hudson.model.UpdateCenter.DownloadJob.InstallationStatus
id
-
-
Constructor Summary
Constructors Constructor Description SuccessButRequiresRestart(org.jvnet.localizer.Localizable message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
boolean
requiresRestart()
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
-
-
-
-
Method Detail
-
getMessage
public String 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
-
-