hudson.plugins.gradle
Class GradleInstallation

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tools.ToolInstallation>
      extended by hudson.tools.ToolInstallation
          extended by hudson.plugins.gradle.GradleInstallation
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tools.ToolInstallation>, hudson.model.EnvironmentSpecific<GradleInstallation>, hudson.slaves.NodeSpecific<GradleInstallation>, Serializable

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

See Also:
Serialized Form

Nested Class Summary
static class GradleInstallation.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
 
Constructor Summary
GradleInstallation(String name, String home, List<? extends hudson.tools.ToolProperty<?>> properties)
           
 
Method Summary
 GradleInstallation forEnvironment(hudson.EnvVars environment)
           
 GradleInstallation forNode(hudson.model.Node node, hudson.model.TaskListener log)
           
 String getExecutable(hudson.Launcher launcher)
           
 String getHome()
           
 
Methods inherited from class hudson.tools.ToolInstallation
all, 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
 

Constructor Detail

GradleInstallation

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

getHome

public String getHome()
Overrides:
getHome in class hudson.tools.ToolInstallation

getExecutable

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

forEnvironment

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

forNode

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


Copyright © 2004-2011. All Rights Reserved.