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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GroovyInstallation.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverter
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GroovyInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroovyInstallation
forEnvironment(EnvVars environment)
GroovyInstallation
forNode(Node node, TaskListener log)
String
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 Detail
-
GroovyInstallation
@DataBoundConstructor public GroovyInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
-
Method Detail
-
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
public GroovyInstallation forEnvironment(EnvVars environment)
- 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
-
-