org.jvnet.hudson.plugins.monitoring
Class NodesListener
java.lang.Object
hudson.slaves.ComputerListener
org.jvnet.hudson.plugins.monitoring.NodesListener
- All Implemented Interfaces:
- hudson.ExtensionPoint
public class NodesListener
- extends hudson.slaves.ComputerListener
Listener of nodes to update data when nodes become online or offline without
waiting 1 minute.
- Author:
- Emeric Vernat
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Method Summary |
void |
onOffline(hudson.model.Computer c)
|
void |
onOnline(hudson.model.Computer c,
hudson.model.TaskListener listener)
|
| Methods inherited from class hudson.slaves.ComputerListener |
all, onConfigurationChange, onLaunchFailure, onOnline, preLaunch, preOnline, register, unregister |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodesListener
public NodesListener(NodesCollector nodesCollector)
- Constructor.
- Parameters:
nodesCollector - NodesCollector
onOnline
public void onOnline(hudson.model.Computer c,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
-
- Overrides:
onOnline in class hudson.slaves.ComputerListener
- Throws:
IOException
InterruptedException
onOffline
public void onOffline(hudson.model.Computer c)
-
- Overrides:
onOffline in class hudson.slaves.ComputerListener
Copyright © 2009-2013. All Rights Reserved.