public class CommandRunner extends Object
Constructor and Description |
---|
CommandRunner() |
Modifier and Type | Method and Description |
---|---|
void |
evaluate() |
int |
exec() |
String |
getCommand() |
int |
getExitValue() |
Throwable |
getThrownError() |
int |
getTimeout() |
boolean |
getWaitForExit() |
static void |
main(String[] args) |
void |
setCommand(String s) |
void |
setInputStream(InputStream is) |
void |
setStdErrorStream(OutputStream os) |
void |
setStdOutputStream(OutputStream os) |
void |
setTimeout(int timeout) |
void |
setWaitForExit(boolean waitForExit) |
public int getExitValue()
public void setCommand(String s)
public String getCommand()
public void setInputStream(InputStream is)
public void setStdOutputStream(OutputStream os)
public void setStdErrorStream(OutputStream os)
public void evaluate() throws IOException
IOException
public int exec() throws IOException
IOException
public Throwable getThrownError()
public int getTimeout()
public void setTimeout(int timeout)
public boolean getWaitForExit()
public void setWaitForExit(boolean waitForExit)
Copyright © 2014 The Apache Software Foundation