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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onOffline
(Computer c, OfflineCause cause) void
onOnline
(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:
onOnline
in classComputerListener
- Throws:
IOException
InterruptedException
-
onOffline
- Overrides:
onOffline
in classComputerListener
-