public class GradleInstallation extends hudson.tools.ToolInstallation implements hudson.model.EnvironmentSpecific<GradleInstallation>, hudson.slaves.NodeSpecific<GradleInstallation>, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
GradleInstallation.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static String |
UNIX_GRADLE_COMMAND |
static String |
UNIX_GRADLE_WRAPPER_COMMAND |
static String |
WINDOWS_GRADLE_COMMAND |
static String |
WINDOWS_GRADLE_WRAPPER_COMMAND |
| Constructor and Description |
|---|
GradleInstallation(String name,
String home,
List<? extends hudson.tools.ToolProperty<?>> properties) |
| Modifier and Type | Method and Description |
|---|---|
GradleInstallation |
forEnvironment(hudson.EnvVars environment) |
GradleInstallation |
forNode(hudson.model.Node node,
hudson.model.TaskListener log) |
String |
getExecutable(hudson.Launcher launcher) |
String |
getHome() |
String |
getWrapperExecutable(hudson.model.AbstractBuild<?,?> build) |
public static final String UNIX_GRADLE_COMMAND
public static final String WINDOWS_GRADLE_COMMAND
public static final String UNIX_GRADLE_WRAPPER_COMMAND
public static final String WINDOWS_GRADLE_WRAPPER_COMMAND
public String getHome()
getHome in class hudson.tools.ToolInstallationpublic String getExecutable(hudson.Launcher launcher) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic String getWrapperExecutable(hudson.model.AbstractBuild<?,?> build) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic GradleInstallation forEnvironment(hudson.EnvVars environment)
forEnvironment in interface hudson.model.EnvironmentSpecific<GradleInstallation>public GradleInstallation forNode(hudson.model.Node node, hudson.model.TaskListener log) throws IOException, InterruptedException
forNode in interface hudson.slaves.NodeSpecific<GradleInstallation>IOExceptionInterruptedExceptionCopyright © 2004-2014. All Rights Reserved.