Class NodesListener
java.lang.Object
hudson.slaves.ComputerListener
org.jvnet.hudson.plugins.monitoring.NodesListener
- All Implemented Interfaces:
ExtensionPoint
Listener of nodes to update data when nodes become online or offline without
waiting 1 minute.
- Author:
- Emeric Vernat
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonOffline(Computer c, OfflineCause cause) voidonOnline(Computer c, TaskListener listener) Methods inherited from class hudson.slaves.ComputerListener
all, onConfigurationChange, onIdle, onLaunchFailure, onOffline, onOnline, onTemporarilyOffline, onTemporarilyOnline, preLaunch, preOnline, register, unregister
-
Constructor Details
-
NodesListener
public NodesListener()Constructor.
-
-
Method Details
-
onOnline
- Overrides:
onOnlinein classComputerListener- Throws:
IOExceptionInterruptedException
-
onOffline
- Overrides:
onOfflinein classComputerListener
-