public class ZipExtractionInstaller extends ToolInstaller
Modifier and Type | Class and Description |
---|---|
static class |
ZipExtractionInstaller.DescriptorImpl |
ToolInstaller.ToolInstallerEntry, ToolInstaller.ToolInstallerList
ExtensionPoint.LegacyInstancesAreScopedToHudson
tool
Constructor and Description |
---|
ZipExtractionInstaller(String label,
String url,
String subdir) |
Modifier and Type | Method and Description |
---|---|
String |
getSubdir() |
String |
getUrl() |
FilePath |
performInstallation(ToolInstallation tool,
Node node,
TaskListener log)
Ensure that the configured tool is really installed.
|
appliesTo, getDescriptor, getLabel, preferredLocation, setTool
public String getUrl()
public String getSubdir()
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–2021. All rights reserved.