public class DrushInstallation extends hudson.tools.ToolInstallation implements hudson.slaves.NodeSpecific<DrushInstallation>, hudson.model.EnvironmentSpecific<DrushInstallation>
Modifier and Type | Class and Description |
---|---|
static class |
DrushInstallation.DescriptorImpl |
Constructor and Description |
---|
DrushInstallation(String name,
String home,
List<? extends hudson.tools.ToolProperty<?>> properties) |
Modifier and Type | Method and Description |
---|---|
void |
buildEnvVars(hudson.EnvVars env) |
DrushInstallation |
forEnvironment(hudson.EnvVars environment) |
DrushInstallation |
forNode(hudson.model.Node node,
hudson.model.TaskListener log) |
DrushInstallation.DescriptorImpl |
getDescriptor() |
String |
getExecutable(hudson.Launcher launcher)
Get executable path of this Drush installation on the given target system.
|
boolean |
getExists()
Check if the executable exists.
|
static void |
onLoaded() |
public void buildEnvVars(hudson.EnvVars env)
buildEnvVars
in class hudson.tools.ToolInstallation
public String getExecutable(hudson.Launcher launcher) throws IOException, InterruptedException
IOException
InterruptedException
public boolean getExists() throws IOException, InterruptedException
IOException
InterruptedException
public DrushInstallation forEnvironment(hudson.EnvVars environment)
forEnvironment
in interface hudson.model.EnvironmentSpecific<DrushInstallation>
public DrushInstallation forNode(hudson.model.Node node, hudson.model.TaskListener log) throws IOException, InterruptedException
forNode
in interface hudson.slaves.NodeSpecific<DrushInstallation>
IOException
InterruptedException
public DrushInstallation.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tools.ToolInstallation>
getDescriptor
in class hudson.model.AbstractDescribableImpl<hudson.tools.ToolInstallation>
@Initializer(after=EXTENSIONS_AUGMENTED) public static void onLoaded()
Copyright © 2004-2016. All Rights Reserved.