public abstract class ShellAbstractTool extends java.lang.Object implements ShellTool
PROP_DIRECT_HEADER, PROP_ERR_STREAM, PROP_EXEC_ASYNC, PROP_EXEC_ASYNC_POLLING_TIMEOUT, PROP_EXEC_TIMEOUT, PROP_LOCAL_TEMP_DIR, PROP_NO_DELETE_SCRIPT, PROP_NO_EXTRA_OUTPUT, PROP_OUT_STREAM, PROP_RUN_AS_ROOT, PROP_SCRIPT_DIR, PROP_SCRIPT_HEADER, PROP_SEPARATOR, PROP_SUMMARY
Constructor and Description |
---|
ShellAbstractTool() |
ShellAbstractTool(java.io.File localTempDir) |
ShellAbstractTool(java.lang.String localTempDir) |
Modifier and Type | Method and Description |
---|---|
int |
execCommands(java.util.Map<java.lang.String,?> props,
java.util.List<java.lang.String> commands) |
int |
execScript(java.util.Map<java.lang.String,?> props,
java.util.List<java.lang.String> commands) |
static <T> T |
getOptionalVal(java.util.Map<java.lang.String,?> map,
ConfigKey<T> keyC) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execCommands, execScript
public ShellAbstractTool(java.lang.String localTempDir)
public ShellAbstractTool(java.io.File localTempDir)
public ShellAbstractTool()
public static <T> T getOptionalVal(java.util.Map<java.lang.String,?> map, ConfigKey<T> keyC)
public int execScript(java.util.Map<java.lang.String,?> props, java.util.List<java.lang.String> commands)
execScript
in interface ShellTool
ShellTool.execScript(Map, List, Map)
public int execCommands(java.util.Map<java.lang.String,?> props, java.util.List<java.lang.String> commands)
execCommands
in interface ShellTool
ShellTool.execCommands(Map, List, Map)