public class FrontendToolsLocator extends Object implements Serializable
| 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 nullverifyTool(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 © 2000–2019 Vaadin Ltd. All rights reserved.