hudson.plugins.gradle
Class GradleInstallation
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.tools.ToolInstallation>
hudson.tools.ToolInstallation
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>, Serializable
- Author:
- Gregory Boissinot
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class hudson.tools.ToolInstallation |
hudson.tools.ToolInstallation.ToolConverter |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
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 |
UNIX_GRADLE_COMMAND
public static final String UNIX_GRADLE_COMMAND
- See Also:
- Constant Field Values
WINDOWS_GRADLE_COMMAND
public static final String WINDOWS_GRADLE_COMMAND
- See Also:
- Constant Field Values
UNIX_GRADLE_WRAPPER_COMMAND
public static final String UNIX_GRADLE_WRAPPER_COMMAND
- See Also:
- Constant Field Values
WINDOWS_GRADLE_WRAPPER_COMMAND
public static final String WINDOWS_GRADLE_WRAPPER_COMMAND
- See Also:
- Constant Field Values
GradleInstallation
@DataBoundConstructor
public GradleInstallation(String name,
String home,
List<? extends hudson.tools.ToolProperty<?>> properties)
getHome
public String getHome()
- Overrides:
getHome
in class hudson.tools.ToolInstallation
getExecutable
public String getExecutable(hudson.Launcher launcher)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
getWrapperExecutable
public String getWrapperExecutable(hudson.model.AbstractBuild<?,?> build)
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-2013. All Rights Reserved.