DefaultExecuteResultHandler
public interface ExecuteResultHandler
Executor.execute(CommandLine, java.util.Map, ExecuteResultHandler)
Modifier and Type | Method | Description |
---|---|---|
void |
onProcessComplete(int exitValue) |
The asynchronous execution completed.
|
void |
onProcessFailed(ExecuteException e) |
The asynchronous execution failed.
|
void onProcessComplete(int exitValue)
exitValue
- the exit value of the sub-processvoid onProcessFailed(ExecuteException e)
e
- the ExecuteException
containing the root cause