public static final class Ant.AntInstallation extends ToolInstallation implements EnvironmentSpecific<Ant.AntInstallation>, NodeSpecific<Ant.AntInstallation>
| Modifier and Type | Class and Description |
|---|---|
static class |
Ant.AntInstallation.ConverterImpl |
static class |
Ant.AntInstallation.DescriptorImpl |
ToolInstallation.ToolConverterExtensionPoint.LegacyInstancesAreScopedToHudson| 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 ToolProperty<?>> properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildEnvVars(EnvVars env) |
Ant.AntInstallation |
forEnvironment(EnvVars environment) |
Ant.AntInstallation |
forNode(Node node,
TaskListener log) |
String |
getAntHome()
Deprecated.
as of 1.307. Use
ToolInstallation.getHome(). |
String |
getExecutable(Launcher launcher)
Gets the executable path of this Ant on the given target system.
|
boolean |
getExists()
Returns true if the executable exists.
|
all, getHome, getName, getProperties, readResolve, toString, translate, translate, translateForgetDescriptor@DataBoundConstructor public AntInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
@Deprecated public AntInstallation(String name, String home)
AntInstallation(String, String, List)public String getAntHome()
ToolInstallation.getHome().public void buildEnvVars(EnvVars env)
buildEnvVars in class ToolInstallationpublic String getExecutable(Launcher launcher) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic boolean getExists()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic Ant.AntInstallation forEnvironment(EnvVars environment)
forEnvironment in interface EnvironmentSpecific<Ant.AntInstallation>public Ant.AntInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException
forNode in interface NodeSpecific<Ant.AntInstallation>IOExceptionInterruptedExceptionCopyright © 2016–2021. All rights reserved.