Package hudson.tools
Class ZipExtractionInstaller
java.lang.Object
hudson.tools.ToolInstaller
hudson.tools.ZipExtractionInstaller
- All Implemented Interfaces:
- ExtensionPoint,- Describable<ToolInstaller>
Installs a tool into the Hudson working area by downloading and unpacking a ZIP file.
- Since:
- 1.305
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class hudson.tools.ToolInstallerToolInstaller.ToolInstallerEntry, ToolInstaller.ToolInstallerListNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Field SummaryFields inherited from class hudson.tools.ToolInstallertool
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetUrl()performInstallation(ToolInstallation tool, Node node, TaskListener log) Ensure that the configured tool is really installed.Methods inherited from class hudson.tools.ToolInstallerappliesTo, getDescriptor, getLabel, preferredLocation, setTool
- 
Constructor Details- 
ZipExtractionInstaller
 
- 
- 
Method Details- 
getUrl
- 
getSubdir
- 
performInstallationpublic FilePath performInstallation(ToolInstallation tool, Node node, TaskListener log) throws IOException, InterruptedException Description copied from class:ToolInstallerEnsure that the configured tool is really installed. If it is already installed, do nothing. Called only ifToolInstaller.appliesTo(Node)are true.- Specified by:
- performInstallationin class- ToolInstaller
- Parameters:
- tool- the tool being installed
- node- the computer on which to install the tool
- log- any status messages produced by the installation go here
- Returns:
- the (directory) path at which the tool can be found,
         typically coming from ToolInstaller.preferredLocation(hudson.tools.ToolInstallation, hudson.model.Node)
- Throws:
- IOException- if installation fails
- InterruptedException- if communication with a agent is interrupted
 
 
-