@Extension public class ToolLabelsFinder extends LabelFinder
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
ToolLabelsFinder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLabels(ToolLocationNodeProperty locations,
ToolInstallation[] installations,
Collection<LabelAtom> labels)
Adds labels for all specified tool locations.
|
Collection<LabelAtom> |
findLabels(Node node)
Finds labels that shall be added dynamically to a node with
all specified tool installations.
|
protected ToolLabelsProperty |
getToolLabelsProperty(ToolInstallation installation)
Deprecated.
As of version 3.0, replaced by
ToolLabelsProperty.of(hudson.tools.ToolInstallation) |
all@Deprecated protected ToolLabelsProperty getToolLabelsProperty(ToolInstallation installation)
ToolLabelsProperty.of(hudson.tools.ToolInstallation)ToolLabelsProperty object of a tool installation.installation - tool installationToolLabelsProperty object, or null if not
found.protected void addLabels(ToolLocationNodeProperty locations, ToolInstallation[] installations, Collection<LabelAtom> labels)
locations - property which contains all tool locationsinstallations - tool installationslabels - collection to which labels are addedpublic Collection<LabelAtom> findLabels(Node node)
findLabels in class LabelFindernode - node to which labels shall be addedCopyright © 2004-2014. All Rights Reserved.