Sets the definition on how to find a tool.
| Type | Name and description |
|---|---|
Iterable<String> |
windowsExtensionSearchOrder |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
executableByPath(Object path)Locate an executable by a local path. |
|
void |
executableBySearchPath(Object baseName)Locate executable by searching the current environmental search path. |
|
Provider<File> |
getExecutable()A provider for a resolved executable. |
|
java.util.List<String> |
getWindowsExtensionSearchOrder()The order in which extensions will be checked for locating an executable on Windows. |
|
void |
setWindowsExtensionSearchOrder(Iterable<String> order)When searching for executables, the order in which to use check for file extensions. |
|
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.