public static final class Ant.AntInstallation extends hudson.tools.ToolInstallation implements hudson.model.EnvironmentSpecific<Ant.AntInstallation>, hudson.slaves.NodeSpecific<Ant.AntInstallation>
Modifier and Type | Class and Description |
---|---|
static class |
Ant.AntInstallation.ConverterImpl |
static class |
Ant.AntInstallation.DescriptorImpl |
Constructor and Description |
---|
AntInstallation(String name,
String home)
Deprecated.
as of 1.308
Use
#AntInstallation(String, String, List) |
AntInstallation(String name,
String home,
List<? extends hudson.tools.ToolProperty<?>> properties) |
Modifier and Type | Method and Description |
---|---|
void |
buildEnvVars(hudson.EnvVars env) |
Ant.AntInstallation |
forEnvironment(hudson.EnvVars environment) |
Ant.AntInstallation |
forNode(hudson.model.Node node,
hudson.model.TaskListener log) |
String |
getAntHome()
Deprecated.
as of 1.307. Use
ToolInstallation.getHome() . |
String |
getExecutable(hudson.Launcher launcher)
Gets the executable path of this Ant on the given target system.
|
boolean |
getExists()
Returns true if the executable exists.
|
@DataBoundConstructor public AntInstallation(String name, String home, List<? extends hudson.tools.ToolProperty<?>> properties)
public String getAntHome()
ToolInstallation.getHome()
.public void buildEnvVars(hudson.EnvVars env)
buildEnvVars
in class hudson.tools.ToolInstallation
public String getExecutable(hudson.Launcher launcher) throws IOException, InterruptedException
IOException
InterruptedException
public boolean getExists() throws IOException, InterruptedException
IOException
InterruptedException
public Ant.AntInstallation forEnvironment(hudson.EnvVars environment)
forEnvironment
in interface hudson.model.EnvironmentSpecific<Ant.AntInstallation>
public Ant.AntInstallation forNode(hudson.model.Node node, hudson.model.TaskListener log) throws IOException, InterruptedException
forNode
in interface hudson.slaves.NodeSpecific<Ant.AntInstallation>
IOException
InterruptedException
Copyright © 2015. All rights reserved.