Package hudson.tools
Class ToolLocationNodeProperty
- All Implemented Interfaces:
- ExtensionPoint,- Describable<NodeProperty<?>>,- ReconfigurableDescribable<NodeProperty<?>>
NodeProperty that allows users to specify different locations for ToolInstallations.- Since:
- 1.286
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic final classNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Field SummaryFields inherited from class hudson.slaves.NodePropertynode
- 
Constructor SummaryConstructorsConstructorDescription
- 
Method SummaryModifier and TypeMethodDescriptiongetHome(ToolInstallation installation) static StringgetToolHome(Node node, ToolInstallation installation, TaskListener log) Deprecated.since 2009-04-09.Methods inherited from class hudson.slaves.NodePropertyall, buildEnvVars, canTake, canTake, for_, getDescriptor, reconfigure, reconfigure, setNode, setUp
- 
Constructor Details- 
ToolLocationNodeProperty@DataBoundConstructor public ToolLocationNodeProperty(List<ToolLocationNodeProperty.ToolLocation> locations) 
- 
ToolLocationNodeProperty
 
- 
- 
Method Details- 
getLocations
- 
getHome
- 
getToolHome@Deprecated public static String getToolHome(Node node, ToolInstallation installation, TaskListener log) throws IOException, InterruptedException Deprecated.since 2009-04-09. UseToolInstallation.translateFor(Node,TaskListener)Checks if the location of the tool is overridden for the given node, and if so, return the node-specific home directory. Otherwise returninstallation.getHome()This is the core logic behind NodeSpecific.forNode(Node, TaskListener)forToolInstallation.- Returns:
- never null.
- Throws:
- IOException
- InterruptedException
 
 
-