Package hudson.plugins.groovy
Class GroovyInstallation
java.lang.Object
hudson.model.AbstractDescribableImpl<ToolInstallation>
hudson.tools.ToolInstallation
hudson.plugins.groovy.GroovyInstallation
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstallation>
,EnvironmentSpecific<GroovyInstallation>
,NodeSpecific<GroovyInstallation>
,Serializable
public class GroovyInstallation
extends ToolInstallation
implements EnvironmentSpecific<GroovyInstallation>, NodeSpecific<GroovyInstallation>
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverter
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorsConstructorDescriptionGroovyInstallation
(String name, String home, List<? extends ToolProperty<?>> properties) -
Method Summary
Modifier and TypeMethodDescriptionforEnvironment
(EnvVars environment) forNode
(Node node, TaskListener log) getExecutable
(hudson.remoting.VirtualChannel channel) Gets the executable path of this groovy installation on the given target system.Methods inherited from class hudson.tools.ToolInstallation
all, buildEnvVars, getHome, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplace
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
GroovyInstallation
@DataBoundConstructor public GroovyInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
-
Method Details
-
getExecutable
@CheckForNull public String getExecutable(hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException Gets the executable path of this groovy installation on the given target system.- Throws:
IOException
InterruptedException
-
forEnvironment
- Specified by:
forEnvironment
in interfaceEnvironmentSpecific<GroovyInstallation>
-
forNode
public GroovyInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
forNode
in interfaceNodeSpecific<GroovyInstallation>
- Throws:
IOException
InterruptedException
-