Package hudson.plugins.gradle
Class GradleInstallation
java.lang.Object
hudson.model.AbstractDescribableImpl<ToolInstallation>
hudson.tools.ToolInstallation
hudson.plugins.gradle.GradleInstallation
- All Implemented Interfaces:
ExtensionPoint,Describable<ToolInstallation>,EnvironmentSpecific<GradleInstallation>,NodeSpecific<GradleInstallation>,Serializable
public class GradleInstallation
extends ToolInstallation
implements EnvironmentSpecific<GradleInstallation>, NodeSpecific<GradleInstallation>, Serializable
- Author:
- Gregory Boissinot
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tools.ToolInstallation
ToolInstallation.ToolConverterNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGradleInstallation(String name, String home, List<? extends ToolProperty<?>> properties) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildEnvVars(EnvVars env) forEnvironment(EnvVars environment) forNode(Node node, TaskListener log) getExecutable(Launcher launcher) getHome()Methods inherited from class hudson.tools.ToolInstallation
all, getName, getProperties, readResolve, toString, translate, translate, translateFor, writeReplaceMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
UNIX_GRADLE_COMMAND
- See Also:
-
WINDOWS_GRADLE_COMMAND
- See Also:
-
UNIX_GRADLE_WRAPPER_COMMAND
- See Also:
-
WINDOWS_GRADLE_WRAPPER_COMMAND
- See Also:
-
-
Constructor Details
-
GradleInstallation
@DataBoundConstructor public GradleInstallation(String name, String home, List<? extends ToolProperty<?>> properties)
-
-
Method Details
-
getHome
- Overrides:
getHomein classToolInstallation
-
buildEnvVars
- Overrides:
buildEnvVarsin classToolInstallation
-
getExecutable
- Throws:
IOExceptionInterruptedException
-
forEnvironment
- Specified by:
forEnvironmentin interfaceEnvironmentSpecific<GradleInstallation>
-
forNode
public GradleInstallation forNode(Node node, TaskListener log) throws IOException, InterruptedException - Specified by:
forNodein interfaceNodeSpecific<GradleInstallation>- Throws:
IOExceptionInterruptedException
-