Package org.activiti.engine.impl.util
Class ShellCommandExecutor
- java.lang.Object
-
- org.activiti.engine.impl.util.ShellCommandExecutor
-
- All Implemented Interfaces:
CommandExecutor
public class ShellCommandExecutor extends Object implements CommandExecutor
-
-
Constructor Summary
Constructors Constructor Description ShellCommandExecutor(Boolean waitFlag, Boolean cleanEnvBoolean, Boolean redirectErrorFlag, String directoryStr, String resultVariableStr, String errorCodeVariableStr, List<String> argList)ShellCommandExecutor(ShellExecutorContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteCommand(DelegateExecution execution)List<String>getArgList()BooleangetCleanEnvBoolean()StringgetDirectoryStr()StringgetErrorCodeVariableStr()BooleangetRedirectErrorFlag()StringgetResultVariableStr()BooleangetWaitFlag()voidsetWaitFlag(Boolean waitFlag)
-
-
-
Constructor Detail
-
ShellCommandExecutor
public ShellCommandExecutor(Boolean waitFlag, Boolean cleanEnvBoolean, Boolean redirectErrorFlag, String directoryStr, String resultVariableStr, String errorCodeVariableStr, List<String> argList)
-
ShellCommandExecutor
public ShellCommandExecutor(ShellExecutorContext context)
-
-
Method Detail
-
executeCommand
public void executeCommand(DelegateExecution execution) throws Exception
- Specified by:
executeCommandin interfaceCommandExecutor- Throws:
Exception
-
getWaitFlag
public Boolean getWaitFlag()
-
setWaitFlag
public void setWaitFlag(Boolean waitFlag)
-
getCleanEnvBoolean
public Boolean getCleanEnvBoolean()
-
getRedirectErrorFlag
public Boolean getRedirectErrorFlag()
-
getDirectoryStr
public String getDirectoryStr()
-
getResultVariableStr
public String getResultVariableStr()
-
getErrorCodeVariableStr
public String getErrorCodeVariableStr()
-
-