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 StringgetExecutable(Launcher launcher)FilegetExecutableFile()Returns the NAnt executable as aFilestatic StringgetExecutableName()Returns the name of the NAnt executable for the current platformbooleangetExists()Returns true if the executable exists.StringgetName()Human readable display name.StringgetNantHome()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:
IOExceptionInterruptedException
-
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, InterruptedExceptionReturns true if the executable exists.- Throws:
IOExceptionInterruptedException
-
-