hudson.plugins.nant
Class NantBuilder.NantInstallation

java.lang.Object
  extended by 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
NantBuilder.NantInstallation(String name, String nantHome)
           
 
Method Summary
 String getExecutable(hudson.Launcher launcher)
           
 File getExecutableFile()
          Returns the NAnt executable as a File
static String getExecutableName()
          Returns the name of the NAnt executable for the current platform
 boolean getExists()
          Returns true if the executable exists.
 String getName()
          Human readable display name.
 String getNantHome()
          install directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NantBuilder.NantInstallation

public NantBuilder.NantInstallation(String name,
                                    String nantHome)
Method Detail

getNantHome

public String getNantHome()
install directory.


getName

public String getName()
Human readable display name.


getExecutable

public String getExecutable(hudson.Launcher launcher)
                     throws IOException,
                            InterruptedException
Throws:
IOException
InterruptedException

getExecutableFile

public File getExecutableFile()
Returns the NAnt executable as a File

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


Copyright © 2004-2013 Hudson. All Rights Reserved.