public class FrontendToolsLocator extends Object implements Serializable
For internal use only. May be renamed or removed in a future release.
Constructor and Description |
---|
FrontendToolsLocator() |
Modifier and Type | Method and Description |
---|---|
Optional<File> |
tryLocateTool(String toolName)
Makes an attempt to locate the tool by its name.
|
boolean |
verifyTool(File toolPath)
Verifies that the tool specified works by performing its test launch.
|
public Optional<File> tryLocateTool(String toolName)
toolName
- the name of a tool to locate, not null
verifyTool(File)
returned
true
for it or Optional.empty()
if there are no
such toolspublic boolean verifyTool(File toolPath)
toolPath
- the path to a tool to checktrue
if the test launch had ended with successful error
code, false
otherwiseCopyright © 2023. All rights reserved.