public class DefaultConsoleTool extends ConsoleTool
binDirectories, console| Constructor and Description |
|---|
DefaultConsoleTool() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getToolHome()
This method will firstly try to return the field
ConsoleTool.toolHomeIf it is null, it will try to get the toolHome from properties ConsoleTool.getToolHomeProperties()If still not found, it will try to get the toolHome from environments ConsoleTool.getToolHomeEnvs()If still not found, it will throw out IllegalStateException. If the toolHome if found, it will be set to field ConsoleTool.toolHome. |
static DefaultConsoleTool |
instance() |
protected void |
modifyBinDirectories()
This method will modify the
ConsoleTool.binDirectories according to tool itself. |
batch, batch, batch, exec, exec, exec, exec, getBinDirectories, getLastCommand, getOsFamilyName, getToolHomeEnvs, getToolHomeProperties, isMacOS, isUnixOS, isWindowsOS, locateTool, needSearchRecursively, searchFile, setToolHomepublic static DefaultConsoleTool instance()
public java.lang.String getToolHome()
ConsoleToolConsoleTool.toolHomeConsoleTool.getToolHomeProperties()ConsoleTool.getToolHomeEnvs()ConsoleTool.toolHome.getToolHome in class ConsoleToolConsoleTool.setToolHome(String)protected void modifyBinDirectories()
ConsoleToolConsoleTool.binDirectories according to tool itself.modifyBinDirectories in class ConsoleToolbinDirectoriesCopyright © SAS Institute. All Rights Reserved.