|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.slaves.ComputerListener
org.jvnet.hudson.plugins.platformlabeler.NodeLabelCache
@Extension public class NodeLabelCache
A cache of Node labels. While it would be nice to have a single implementation extending both FindLabels and ComputerListener, because Hudson uses subclassing its not easy to do so. Instead we provide a static cache which the LabelFinder in our package can read.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Constructor Summary | |
|---|---|
NodeLabelCache()
|
|
| Method Summary | |
|---|---|
void |
onOnline(hudson.model.Computer computer,
hudson.model.TaskListener listener)
When a computer comes online, probe it for its platform labels. |
| Methods inherited from class hudson.slaves.ComputerListener |
|---|
all, onOffline, onOnline, preOnline, register, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeLabelCache()
| Method Detail |
|---|
public void onOnline(hudson.model.Computer computer,
hudson.model.TaskListener listener)
throws java.io.IOException,
java.lang.InterruptedException
onOnline in class hudson.slaves.ComputerListenerjava.io.IOException
java.lang.InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||