public class CustomTool extends hudson.tools.ToolInstallation implements hudson.slaves.NodeSpecific<CustomTool>, hudson.model.EnvironmentSpecific<CustomTool>
| Modifier and Type | Class and Description |
|---|---|
static class |
CustomTool.DescriptorImpl |
| Constructor and Description |
|---|
CustomTool(String name,
String home,
List properties,
String exportedPaths) |
| Modifier and Type | Method and Description |
|---|---|
CustomTool |
forEnvironment(hudson.EnvVars environment) |
CustomTool |
forNode(hudson.model.Node node,
hudson.model.TaskListener log) |
String |
getExportedPaths() |
protected List<String> |
getPaths(hudson.model.Node node)
Finds the directories to add to the path, for the given node.
|
public String getExportedPaths()
public CustomTool forEnvironment(hudson.EnvVars environment)
forEnvironment in interface hudson.model.EnvironmentSpecific<CustomTool>public CustomTool forNode(hudson.model.Node node, hudson.model.TaskListener log) throws IOException, InterruptedException
forNode in interface hudson.slaves.NodeSpecific<CustomTool>IOExceptionInterruptedExceptionprotected List<String> getPaths(hudson.model.Node node) throws IOException, InterruptedException
node - where the tool has been installedIOExceptionInterruptedExceptionCopyright © 2004-2013. All Rights Reserved.