hudson.plugins.nant
Class NantBuilder.NantInstallation

java.lang.Object
  extended by hudson.plugins.nant.NantBuilder.NantInstallation
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
NantBuilder

public static final class NantBuilder.NantInstallation
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
NantBuilder.NantInstallation(java.lang.String name, java.lang.String nantHome)
           
 
Method Summary
 java.lang.String getExecutable(hudson.Launcher launcher)
           
 java.io.File getExecutableFile()
          Returns the NAnt executable as a File
static java.lang.String getExecutableName()
          Returns the name of the NAnt executable for the current platform
 boolean getExists()
          Returns true if the executable exists.
 java.lang.String getName()
          Human readable display name.
 java.lang.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(java.lang.String name,
                                    java.lang.String nantHome)
Method Detail

getNantHome

public java.lang.String getNantHome()
install directory.


getName

public java.lang.String getName()
Human readable display name.


getExecutable

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

getExecutableFile

public java.io.File getExecutableFile()
Returns the NAnt executable as a File

Returns:
the NAnt executable as a File

getExecutableName

public static java.lang.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 java.io.IOException,
                         java.lang.InterruptedException
Returns true if the executable exists.

Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2010. All Rights Reserved.