public interface BaseToolLocation
Sets the definition on how to find a tool.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
executableByPath(Object path)Locate an executable by a local path. |
|
public void |
executableBySearchPath(Object baseName)Locate executable by searching the current environmental search path. |
|
public Provider<File> |
getExecutable()A provider for a resolved executable. |
|
public java.util.List<String> |
getWindowsExtensionSearchOrder()The order in which extensions will be checked for locating an executable on Windows. |
|
public void |
setWindowsExtensionSearchOrder(Iterable<String> order)When searching for executables, the order in which to use check for file extensions. |
|
public void |
setWindowsExtensionSearchOrder(String order)When searching for executables, the order in which to use check for file extensions. |
Locate an executable by a local path.
path - Something resolvable to a File.Locate executable by searching the current environmental search path.
baseName - The base name of the executable The order in which extensions will be checked for locating an executable on Windows.
The default is to use whatever is in the PATHEXT environmental variable.
When searching for executables, the order in which to use check for file extensions.
order - List of extensions.When searching for executables, the order in which to use check for file extensions.
order - List of extensions.