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.toolHome If 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, setToolHome
public static DefaultConsoleTool instance()
public java.lang.String getToolHome()
ConsoleTool
ConsoleTool.toolHome
ConsoleTool.getToolHomeProperties()
ConsoleTool.getToolHomeEnvs()
ConsoleTool.toolHome
.getToolHome
in class ConsoleTool
ConsoleTool.setToolHome(String)
protected void modifyBinDirectories()
ConsoleTool
ConsoleTool.binDirectories
according to tool itself.modifyBinDirectories
in class ConsoleTool
binDirectories
Copyright © SAS Institute. All Rights Reserved.