com.g2one.hudson.grails
Class GrailsInstallation

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tools.ToolInstallation>
      extended by hudson.tools.ToolInstallation
          extended by com.g2one.hudson.grails.GrailsInstallation
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstallation>, hudson.model.EnvironmentSpecific<GrailsInstallation>, hudson.slaves.NodeSpecific<GrailsInstallation>, Serializable

public final class GrailsInstallation
extends hudson.tools.ToolInstallation
implements hudson.model.EnvironmentSpecific<GrailsInstallation>, hudson.slaves.NodeSpecific<GrailsInstallation>

See Also:
Serialized Form

Nested Class Summary
static class GrailsInstallation.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation
hudson.tools.ToolInstallation.ToolConverter
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 String grailsHome
           
 
Constructor Summary
GrailsInstallation(String name, String home, List<? extends hudson.tools.ToolProperty<?>> properties)
           
 
Method Summary
 GrailsInstallation forEnvironment(hudson.EnvVars environment)
           
 GrailsInstallation forNode(hudson.model.Node node, hudson.model.TaskListener log)
           
 File getExecutable()
           
 boolean getExists()
           
 
Methods inherited from class hudson.tools.ToolInstallation
all, getHome, getName, getProperties, translateFor
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

grailsHome

public transient String grailsHome
Constructor Detail

GrailsInstallation

@DataBoundConstructor
public GrailsInstallation(String name,
                                               String home,
                                               List<? extends hudson.tools.ToolProperty<?>> properties)
Method Detail

getExecutable

public File getExecutable()

getExists

public boolean getExists()

forNode

public GrailsInstallation forNode(hudson.model.Node node,
                                  hudson.model.TaskListener log)
                           throws IOException,
                                  InterruptedException
Specified by:
forNode in interface hudson.slaves.NodeSpecific<GrailsInstallation>
Throws:
IOException
InterruptedException

forEnvironment

public GrailsInstallation forEnvironment(hudson.EnvVars environment)
Specified by:
forEnvironment in interface hudson.model.EnvironmentSpecific<GrailsInstallation>


Copyright © 2004-2013 Hudson. All Rights Reserved.