public class ToolLocationNodeProperty extends NodeProperty<Node>
NodeProperty
that allows users to specify different locations for ToolInstallation
s.Modifier and Type | Class and Description |
---|---|
static class |
ToolLocationNodeProperty.DescriptorImpl |
static class |
ToolLocationNodeProperty.ToolLocation |
ExtensionPoint.LegacyInstancesAreScopedToHudson
node
Constructor and Description |
---|
ToolLocationNodeProperty(List<ToolLocationNodeProperty.ToolLocation> locations) |
ToolLocationNodeProperty(ToolLocationNodeProperty.ToolLocation... locations) |
Modifier and Type | Method and Description |
---|---|
String |
getHome(ToolInstallation installation) |
List<ToolLocationNodeProperty.ToolLocation> |
getLocations() |
static String |
getToolHome(Node node,
ToolInstallation installation,
TaskListener log)
Deprecated.
since 2009-04-09.
Use
ToolInstallation.translateFor(Node,TaskListener) |
all, buildEnvVars, canTake, canTake, for_, getDescriptor, reconfigure, setNode, setUp
@DataBoundConstructor public ToolLocationNodeProperty(List<ToolLocationNodeProperty.ToolLocation> locations)
public ToolLocationNodeProperty(ToolLocationNodeProperty.ToolLocation... locations)
public List<ToolLocationNodeProperty.ToolLocation> getLocations()
public String getHome(ToolInstallation installation)
@Deprecated public static String getToolHome(Node node, ToolInstallation installation, TaskListener log) throws IOException, InterruptedException
ToolInstallation.translateFor(Node,TaskListener)
installation.getHome()
This is the core logic behind NodeSpecific.forNode(Node, TaskListener)
for ToolInstallation
.
IOException
InterruptedException
Copyright © 2004–2021. All rights reserved.