hudson.plugins.groovy
Class Groovy.GroovyInstallation

java.lang.Object
  extended by hudson.plugins.groovy.Groovy.GroovyInstallation
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Groovy

public static final class Groovy.GroovyInstallation
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Groovy.GroovyInstallation(java.lang.String name, java.lang.String home)
           
 
Method Summary
 boolean exists()
          Returns true if the executable exists.
 java.lang.String getExecutable(hudson.remoting.VirtualChannel channel)
          Gets the executable path of this groovy installation on the given target system.
 java.lang.String getHome()
          install directory.
 java.lang.String getName()
          Human readable display name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Groovy.GroovyInstallation

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

getHome

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


getName

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


getExecutable

public java.lang.String getExecutable(hudson.remoting.VirtualChannel channel)
                               throws java.io.IOException,
                                      java.lang.InterruptedException
Gets the executable path of this groovy installation on the given target system.

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

exists

public boolean exists()
Returns true if the executable exists.



Copyright © 2008. All Rights Reserved.