public abstract class LabelFinder extends Object implements ExtensionPoint
Nodes.
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
LabelFinders. |
abstract Collection<LabelAtom> |
findLabels(Node node)
Find the labels that the node supports.
|
public static ExtensionList<LabelFinder> all()
LabelFinders.public abstract Collection<LabelAtom> findLabels(Node node)
node - The node that receives labels. Never null.Copyright © 2019. All rights reserved.