Package hudson.slaves
Class OfflineCause.UserCause
java.lang.Object
hudson.slaves.OfflineCause
hudson.slaves.OfflineCause.SimpleOfflineCause
hudson.slaves.OfflineCause.UserCause
- All Implemented Interfaces:
IOfflineCause
- Direct Known Subclasses:
OfflineCause.ByCLI
- Enclosing class:
OfflineCause
Taken offline by user.
- Since:
- 1.551
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.slaves.OfflineCause
OfflineCause.ByCLI, OfflineCause.ChannelTermination, OfflineCause.IdleOfflineCause, OfflineCause.LaunchFailed, OfflineCause.LegacyOfflineCause, OfflineCause.SimpleOfflineCause, OfflineCause.UserCause -
Field Summary
Fields inherited from class hudson.slaves.OfflineCause.SimpleOfflineCause
descriptionFields inherited from class hudson.slaves.OfflineCause
timestamp -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class hudson.slaves.OfflineCause
create, getTimestampMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jenkins.agents.IOfflineCause
getReason, getStatusClass, getTime
-
Constructor Details
-
UserCause
-
-
Method Details
-
getUser
-
getMessage
- Returns:
- the message that was provided when the computer was taken offline
-
getComputerIcon
- Returns:
- The icon to use for the computer that has this offline cause. It will be displayed in the build executor status widget, as well as in nodes list screen.
-
getComputerIconAltText
- Returns:
- The alt text for the icon returned by
IOfflineCause.getComputerIcon().
-
getIcon
- Returns:
- The icon to render this offline cause. It will be displayed in the build executor status widget.
-
toString
- Overrides:
toStringin classOfflineCause.SimpleOfflineCause
-