public class DuccCommandExecutor extends CommandExecutor
agent, cmdLine, host, ip, managedProcess| Constructor and Description |
|---|
DuccCommandExecutor(org.apache.uima.ducc.transport.cmdline.ICommandLine cmdLine,
String host,
String ip,
Process managedProcess) |
DuccCommandExecutor(NodeAgent agent,
org.apache.uima.ducc.transport.cmdline.ICommandLine cmdLine,
String host,
String ip,
Process managedProcess) |
| Modifier and Type | Method and Description |
|---|---|
void |
doExec(ProcessBuilder pb,
String[] cmd,
boolean isKillCmd) |
Process |
exec(org.apache.uima.ducc.transport.cmdline.ICommandLine cmdLine,
Map<String,String> processEnv) |
void |
stop() |
call, isKillCommand, postExecSteppublic DuccCommandExecutor(NodeAgent agent, org.apache.uima.ducc.transport.cmdline.ICommandLine cmdLine, String host, String ip, Process managedProcess) throws Exception
Exceptionpublic Process exec(org.apache.uima.ducc.transport.cmdline.ICommandLine cmdLine, Map<String,String> processEnv) throws Exception
exec in class CommandExecutorExceptionpublic void doExec(ProcessBuilder pb, String[] cmd, boolean isKillCmd) throws Exception
Exceptionpublic void stop()
stop in class CommandExecutorCopyright © 2012–2017 The Apache Software Foundation. All rights reserved.