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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstallerTranslator
public InstallerTranslator()
getToolHome
public String getToolHome(Node node,
ToolInstallation tool,
TaskListener log)
throws IOException,
InterruptedException
- Description copied from class:
ToolLocationTranslator
- Called for each
ToolInstallation.translateFor(Node, TaskListener)
invocations
(which normally means it's invoked for each NodeSpecific.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 File
so that it can handle path names of a different OS.
Otherwise return null to let other ToolLocationTranslator
s a chance to do translations
on their own.
- Specified by:
getToolHome
in class ToolLocationTranslator
- Throws:
IOException
InterruptedException
Copyright © 2004-2013. All Rights Reserved.