com.thalesgroup.hudson.plugins.gnat
Class GnatInstallation

java.lang.Object
  extended by com.thalesgroup.hudson.plugins.gnat.GnatInstallation

public final class GnatInstallation
extends java.lang.Object

Gnatmake installation.

Author:
Gregory Boissinot

Nested Class Summary
static class GnatInstallation.GNAT_TYPE
           
 
Constructor Summary
GnatInstallation(java.lang.String name, java.lang.String home)
           
 
Method Summary
 java.io.File getExecutable(GnatInstallation.GNAT_TYPE gnattype)
           
 boolean getExists()
          Returns true if the executable exists
 java.lang.String getGnatmakeHome()
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GnatInstallation

@DataBoundConstructor
public GnatInstallation(java.lang.String name,
                                             java.lang.String home)
Method Detail

getGnatmakeHome

public java.lang.String getGnatmakeHome()

getName

public java.lang.String getName()

getExecutable

public java.io.File getExecutable(GnatInstallation.GNAT_TYPE gnattype)

getExists

public boolean getExists()
Returns true if the executable exists

Returns:
true if the executable exists, false otherwise


Copyright © 2010. All Rights Reserved.