Package hudson.slaves
Class OfflineCause.IdleOfflineCause
java.lang.Object
hudson.slaves.OfflineCause
hudson.slaves.OfflineCause.SimpleOfflineCause
hudson.slaves.OfflineCause.IdleOfflineCause
- All Implemented Interfaces:
IOfflineCause
- Enclosing class:
- OfflineCause
Caused by idle period.
- Since:
- 1.644
-
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
description
Fields inherited from class hudson.slaves.OfflineCause
timestamp
-
Constructor Summary
-
Method Summary
Methods inherited from class hudson.slaves.OfflineCause.SimpleOfflineCause
toString
Methods inherited from class hudson.slaves.OfflineCause
create, getTimestamp
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface jenkins.agents.IOfflineCause
getMessage, getReason, getTime
-
Constructor Details
-
IdleOfflineCause
public IdleOfflineCause()
-
-
Method Details
-
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.
-
getStatusClass
- Returns:
- the CSS class name that should be used to render the status.
-