Package hudson.tools
Class CommandInstaller
- java.lang.Object
-
- hudson.tools.ToolInstaller
-
- hudson.tools.AbstractCommandInstaller
-
- hudson.tools.CommandInstaller
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ToolInstaller>
public class CommandInstaller extends AbstractCommandInstaller
Installs a tool by running an arbitrary shell command.- Since:
- 1.305
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CommandInstaller.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tools.AbstractCommandInstaller
AbstractCommandInstaller.Descriptor<TInstallerClass extends AbstractCommandInstaller>
-
Nested classes/interfaces inherited from class hudson.tools.ToolInstaller
ToolInstaller.ToolInstallerEntry, ToolInstaller.ToolInstallerList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.tools.ToolInstaller
tool
-
-
Constructor Summary
Constructors Constructor Description CommandInstaller(String label, String command, String toolHome)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getCommandCall(FilePath script)
Retrieves a call for remote script caller.String
getCommandFileExtension()
-
Methods inherited from class hudson.tools.AbstractCommandInstaller
getCommand, getToolHome, performInstallation
-
Methods inherited from class hudson.tools.ToolInstaller
appliesTo, getDescriptor, getLabel, preferredLocation, setTool
-
-
-
-
Method Detail
-
getCommandFileExtension
public String getCommandFileExtension()
- Specified by:
getCommandFileExtension
in classAbstractCommandInstaller
-
getCommandCall
public String[] getCommandCall(FilePath script)
Description copied from class:AbstractCommandInstaller
Retrieves a call for remote script caller.- Specified by:
getCommandCall
in classAbstractCommandInstaller
-
-