Package hudson.plugins.nant
Class NantBuilder.NantInstallation
- java.lang.Object
-
- hudson.plugins.nant.NantBuilder.NantInstallation
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- NantBuilder
public static final class NantBuilder.NantInstallation extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NantInstallation(String name, String nantHome)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExecutable(Launcher launcher)
File
getExecutableFile()
Returns the NAnt executable as aFile
static String
getExecutableName()
Returns the name of the NAnt executable for the current platformboolean
getExists()
Returns true if the executable exists.String
getName()
Human readable display name.String
getNantHome()
install directory.
-
-
-
Method Detail
-
getNantHome
public String getNantHome()
install directory.
-
getName
public String getName()
Human readable display name.
-
getExecutable
public String getExecutable(Launcher launcher) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
getExecutableFile
public File getExecutableFile()
Returns the NAnt executable as aFile
- Returns:
- the NAnt executable as a
File
-
getExecutableName
public static String getExecutableName()
Returns the name of the NAnt executable for the current platform- Returns:
- the name of the NAnt executable for the current platform
-
getExists
public boolean getExists() throws IOException, InterruptedException
Returns true if the executable exists.- Throws:
IOException
InterruptedException
-
-