org.jvnet.hudson.plugins.platformlabeler
Class PlatformLabeler

java.lang.Object
  extended by hudson.model.LabelFinder
      extended by org.jvnet.hudson.plugins.platformlabeler.PlatformLabeler
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class PlatformLabeler
extends hudson.model.LabelFinder

Obtain labels for Nodes at runtime by querying the operating system running on it. Querying is done via the NodeLabelCache onOnline extension. PlatformLabeler simply answers from the cache that that extension maintains.


Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
PlatformLabeler()
           
 
Method Summary
 java.util.Set<hudson.model.Label> findLabels(hudson.model.Node node)
           
 
Methods inherited from class hudson.model.LabelFinder
all
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlatformLabeler

public PlatformLabeler()
Method Detail

findLabels

public java.util.Set<hudson.model.Label> findLabels(hudson.model.Node node)
Specified by:
findLabels in class hudson.model.LabelFinder


Copyright © 2009. All Rights Reserved.