hudson.tasks
Class Ant.AntInstallation
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.tools.ToolInstallation>
hudson.tools.ToolInstallation
hudson.tasks.Ant.AntInstallation
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstallation>, hudson.model.EnvironmentSpecific<Ant.AntInstallation>, hudson.slaves.NodeSpecific<Ant.AntInstallation>, java.io.Serializable
- Enclosing class:
- Ant
public static final class Ant.AntInstallation
- extends hudson.tools.ToolInstallation
- implements hudson.model.EnvironmentSpecific<Ant.AntInstallation>, hudson.slaves.NodeSpecific<Ant.AntInstallation>
Represents the Ant installation on the system.
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class hudson.tools.ToolInstallation |
hudson.tools.ToolInstallation.ToolConverter |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Constructor Summary |
Ant.AntInstallation(java.lang.String name,
java.lang.String home)
Deprecated. as of 1.308
Use #AntInstallation(String, String, List) |
Ant.AntInstallation(java.lang.String name,
java.lang.String home,
java.util.List<? extends hudson.tools.ToolProperty<?>> properties)
|
| Methods inherited from class hudson.tools.ToolInstallation |
all, getHome, getName, getProperties, readResolve, translateFor |
| Methods inherited from class hudson.model.AbstractDescribableImpl |
getDescriptor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ant.AntInstallation
@DataBoundConstructor
public Ant.AntInstallation(java.lang.String name,
java.lang.String home,
java.util.List<? extends hudson.tools.ToolProperty<?>> properties)
Ant.AntInstallation
public Ant.AntInstallation(java.lang.String name,
java.lang.String home)
- Deprecated. as of 1.308
Use
#AntInstallation(String, String, List)
getAntHome
public java.lang.String getAntHome()
- Deprecated. as of 1.307. Use
ToolInstallation.getHome().
- install directory.
getExecutable
public java.lang.String getExecutable(hudson.Launcher launcher)
throws java.io.IOException,
java.lang.InterruptedException
- Gets the executable path of this Ant on the given target system.
- Throws:
java.io.IOException
java.lang.InterruptedException
getExists
public boolean getExists()
throws java.io.IOException,
java.lang.InterruptedException
- Returns true if the executable exists.
- Throws:
java.io.IOException
java.lang.InterruptedException
forEnvironment
public Ant.AntInstallation forEnvironment(hudson.EnvVars environment)
- Specified by:
forEnvironment in interface hudson.model.EnvironmentSpecific<Ant.AntInstallation>
forNode
public Ant.AntInstallation forNode(hudson.model.Node node,
hudson.model.TaskListener log)
throws java.io.IOException,
java.lang.InterruptedException
- Specified by:
forNode in interface hudson.slaves.NodeSpecific<Ant.AntInstallation>
- Throws:
java.io.IOException
java.lang.InterruptedException
Copyright © 2004-2011. All Rights Reserved.