Package hudson.model
Class UpdateCenter.DownloadJob.InstallationStatus
- java.lang.Object
-
- java.lang.Throwable
-
- hudson.model.UpdateCenter.DownloadJob.InstallationStatus
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UpdateCenter.DownloadJob.Failure
,UpdateCenter.DownloadJob.Installing
,UpdateCenter.DownloadJob.Pending
,UpdateCenter.DownloadJob.Skipped
,UpdateCenter.DownloadJob.Success
- Enclosing class:
- UpdateCenter.DownloadJob
@ExportedBean public abstract class UpdateCenter.DownloadJob.InstallationStatus extends Throwable
Indicates the status or the result of a plugin installation.Instances of this class is immutable.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
id
-
Constructor Summary
Constructors Constructor Description InstallationStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getType()
boolean
isSuccess()
boolean
requiresRestart()
Indicates that a restart is needed to complete the tasks.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
isSuccess
@Exported public boolean isSuccess()
-
getType
@Exported public final String getType()
-
requiresRestart
public boolean requiresRestart()
Indicates that a restart is needed to complete the tasks.
-
-