public abstract class LabelFinder extends Object implements ExtensionPoint
Node
s.
To register your implementation, put Extension
on your derived types.
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
LabelFinder() |
Modifier and Type | Method and Description |
---|---|
static ExtensionList<LabelFinder> |
all()
Returns all the registered
LabelFinder s. |
abstract Collection<LabelAtom> |
findLabels(Node node)
Find the labels that the node supports.
|
public static ExtensionList<LabelFinder> all()
LabelFinder
s.public abstract Collection<LabelAtom> findLabels(Node node)
node
- The node that receives labels. Never null.Copyright © 2004–2021. All rights reserved.