Package hudson.slaves
Class OfflineCause
java.lang.Object
hudson.slaves.OfflineCause
- Direct Known Subclasses:
 MonitorOfflineCause,OfflineCause.ChannelTermination,OfflineCause.LaunchFailed,OfflineCause.SimpleOfflineCause,TcpSlaveAgentListener.ConnectionFromCurrentPeer
Represents a cause that puts a computer offline.
 
Views
 OfflineCause must have cause.jelly that renders a cause
 into HTML. This is used to tell users why the node is put offline.
 This view should render a block element like DIV.
- Since:
 - 1.320
 - Author:
 - Kohsuke Kawaguchi
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classCaused by unexpected channel termination.static classCaused by idle period.static classCaused by failure to launch.static classOfflineCausethat renders a static text, but without any further UI.static classTaken offline by user. - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic OfflineCausecreate(org.jvnet.localizer.Localizable d) final DategetTime()Same asgetTimestamp()but in a different type.longTimestamp in which the event happened. 
- 
Field Details
- 
timestamp
protected final long timestamp 
 - 
 - 
Constructor Details
- 
OfflineCause
public OfflineCause() 
 - 
 - 
Method Details
- 
getTimestamp
@Exported public long getTimestamp()Timestamp in which the event happened.- Since:
 - 1.612
 
 - 
getTime
Same asgetTimestamp()but in a different type.- Since:
 - 1.612
 
 - 
create
 
 -