Package hudson.slaves

Class OfflineCause

java.lang.Object
hudson.slaves.OfflineCause
All Implemented Interfaces:
IOfflineCause
Direct Known Subclasses:
MonitorOfflineCause, OfflineCause.ChannelTermination, OfflineCause.LaunchFailed, OfflineCause.LegacyOfflineCause, OfflineCause.SimpleOfflineCause, TcpSlaveAgentListener.ConnectionFromCurrentPeer

@ExportedBean public abstract class OfflineCause extends Object implements IOfflineCause
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
  • 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.
      Specified by:
      getTimestamp in interface IOfflineCause
      Since:
      1.612
    • create

      public static OfflineCause create(org.jvnet.localizer.Localizable d)