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, onOnline, 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)
onOnline
public void onOnline(hudson.model.Computer c,
hudson.model.TaskListener listener)
throws java.io.IOException,
java.lang.InterruptedException
-
- Overrides:
onOnline
in class hudson.slaves.ComputerListener
- Throws:
java.io.IOException
java.lang.InterruptedException
onOffline
public void onOffline(hudson.model.Computer c)
-
- Overrides:
onOffline
in class hudson.slaves.ComputerListener
Copyright © 2009-2012. All Rights Reserved.