public abstract class AbstractCommandInstaller extends ToolInstaller
BatchCommandInstaller,
CommandInstaller| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractCommandInstaller.Descriptor<TInstallerClass extends AbstractCommandInstaller> |
ToolInstaller.ToolInstallerEntry, ToolInstaller.ToolInstallerListExtensionPoint.LegacyInstancesAreScopedToHudsontool| Constructor and Description |
|---|
AbstractCommandInstaller(String label,
String command,
String toolHome) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommand() |
abstract String[] |
getCommandCall(FilePath script)
Retrieves a call for remote script caller.
|
abstract String |
getCommandFileExtension() |
String |
getToolHome() |
FilePath |
performInstallation(ToolInstallation tool,
Node node,
TaskListener log)
Ensure that the configured tool is really installed.
|
appliesTo, getDescriptor, getLabel, preferredLocation, setToolpublic String getCommand()
public String getToolHome()
public abstract String getCommandFileExtension()
public abstract String[] getCommandCall(FilePath script)
public FilePath performInstallation(ToolInstallation tool, Node node, TaskListener log) throws IOException, InterruptedException
ToolInstallerToolInstaller.appliesTo(Node) are true.performInstallation in class ToolInstallertool - the tool being installednode - the computer on which to install the toollog - any status messages produced by the installation go hereToolInstaller.preferredLocation(hudson.tools.ToolInstallation, hudson.model.Node)IOException - if installation failsInterruptedException - if communication with a slave is interruptedCopyright © 2019. All rights reserved.