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