public abstract class AbstractCommandInstaller extends ToolInstaller
BatchCommandInstaller
,
CommandInstaller
Modifier and Type | Class and Description |
---|---|
static class |
AbstractCommandInstaller.Descriptor<TInstallerClass extends AbstractCommandInstaller> |
ToolInstaller.ToolInstallerEntry, ToolInstaller.ToolInstallerList
ExtensionPoint.LegacyInstancesAreScopedToHudson
tool
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, setTool
public 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
ToolInstaller
ToolInstaller.appliesTo(Node)
are true.performInstallation
in class ToolInstaller
tool
- 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 agent is interruptedCopyright © 2004–2019. All rights reserved.