Uses of Class
hudson.slaves.OfflineCause
Packages that use OfflineCause
Package
Description
Core object model that are bound to URLs via stapler, rooted at
Jenkins.Code that monitors the health of agents
Code related to agents.
-
Uses of OfflineCause in hudson
Subclasses of OfflineCause in hudsonModifier and TypeClassDescriptionstatic classConnection terminated because we are reconnected from the current peer. -
Uses of OfflineCause in hudson.model
Fields in hudson.model declared as OfflineCauseModifier and TypeFieldDescriptionprotected OfflineCauseComputer.offlineCauseContains info about reason behind computer being offline.Methods in hudson.model that return OfflineCauseModifier and TypeMethodDescriptionComputer.getOfflineCause()If the computer was offline (either temporarily or not), this method will return the cause.Node.getTemporaryOfflineCause()Get the cause if temporary offline.Methods in hudson.model with parameters of type OfflineCauseModifier and TypeMethodDescriptionFuture<?> Computer.disconnect(OfflineCause cause) Disconnect this computer.voidComputer.setOfflineCause(OfflineCause cause) Allows a caller to define anOfflineCausefor a computer that has never been online.voidComputer.setTemporarilyOffline(boolean temporarilyOffline, OfflineCause cause) Deprecated.voidComputer.setTemporaryOfflineCause(OfflineCause temporaryOfflineCause) Marks the computer as temporarily offline. -
Uses of OfflineCause in hudson.node_monitors
Subclasses of OfflineCause in hudson.node_monitorsModifier and TypeClassDescriptionstatic final classValue object that represents the disk space.classOffline cause to denote it was node monitor what put computer offline.static final classImmutable representation of the monitoring data.Methods in hudson.node_monitors with parameters of type OfflineCauseModifier and TypeMethodDescriptionprotected booleanAbstractNodeMonitorDescriptor.markOffline(Computer c, OfflineCause oc) Utility method to mark the computer offline for derived classes. -
Uses of OfflineCause in hudson.slaves
Subclasses of OfflineCause in hudson.slavesModifier and TypeClassDescriptionstatic classstatic classCaused by unexpected channel termination.static classCaused by idle period.static classCaused by failure to launch.static classDeprecated.Only exists for backward compatibility.static classOfflineCausethat renders a static text, but without any further UI.static classTaken offline by user.static classMethods in hudson.slaves that return OfflineCauseModifier and TypeMethodDescriptionstatic OfflineCauseOfflineCause.create(org.jvnet.localizer.Localizable d) Methods in hudson.slaves with parameters of type OfflineCauseModifier and TypeMethodDescriptionFuture<?> SlaveComputer.disconnect(OfflineCause cause) voidComputerListener.onOffline(Computer c, OfflineCause cause) Called right after aComputerwent offline.voidComputerListener.onTemporarilyOffline(Computer c, OfflineCause cause) Indicates that the computer was marked as temporarily offline by the administrator.
Computer.setTemporaryOfflineCause(OfflineCause)instead.