Package hudson.tools
Class InstallerTranslator
- java.lang.Object
-
- hudson.tools.ToolLocationTranslator
-
- hudson.tools.InstallerTranslator
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class InstallerTranslator extends ToolLocationTranslator
Actually runs installations.- Since:
- 1.305
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description InstallerTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetToolHome(Node node, ToolInstallation tool, TaskListener log)Called for eachToolInstallation.translateFor(Node, TaskListener)invocations (which normally means it's invoked for eachNodeSpecific.forNode(Node, TaskListener)) to translate the tool location into the node specific location.-
Methods inherited from class hudson.tools.ToolLocationTranslator
all
-
-
-
-
Method Detail
-
getToolHome
public String getToolHome(Node node, ToolInstallation tool, TaskListener log) throws IOException, InterruptedException
Description copied from class:ToolLocationTranslatorCalled for eachToolInstallation.translateFor(Node, TaskListener)invocations (which normally means it's invoked for eachNodeSpecific.forNode(Node, TaskListener)) to translate the tool location into the node specific location.If this implementation is capable of determining the location, return the path in the absolute file name. (This method doesn't return
Fileso that it can handle path names of a different OS.Otherwise return null to let other
ToolLocationTranslators a chance to do translations on their own.- Specified by:
getToolHomein classToolLocationTranslator- Throws:
IOExceptionInterruptedException
-
-