public class ShellCommandExecutor extends Object implements CommandExecutor
| Constructor and Description |
|---|
ShellCommandExecutor(Boolean waitFlag,
Boolean cleanEnvBoolean,
Boolean redirectErrorFlag,
String directoryStr,
String resultVariableStr,
String errorCodeVariableStr,
List<String> argList) |
ShellCommandExecutor(ShellExecutorContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeCommand(DelegateExecution execution) |
List<String> |
getArgList() |
Boolean |
getCleanEnvBoolean() |
String |
getDirectoryStr() |
String |
getErrorCodeVariableStr() |
Boolean |
getRedirectErrorFlag() |
String |
getResultVariableStr() |
Boolean |
getWaitFlag() |
void |
setWaitFlag(Boolean waitFlag) |
public ShellCommandExecutor(Boolean waitFlag, Boolean cleanEnvBoolean, Boolean redirectErrorFlag, String directoryStr, String resultVariableStr, String errorCodeVariableStr, List<String> argList)
public ShellCommandExecutor(ShellExecutorContext context)
public void executeCommand(DelegateExecution execution) throws Exception
executeCommand in interface CommandExecutorExceptionpublic Boolean getWaitFlag()
public void setWaitFlag(Boolean waitFlag)
public Boolean getCleanEnvBoolean()
public Boolean getRedirectErrorFlag()
public String getDirectoryStr()
public String getResultVariableStr()
public String getErrorCodeVariableStr()
Copyright © 2010–2018 Alfresco. All rights reserved.