|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecuteResultHandler
The callback handlers for the result of asynchronous process execution. When a process is started asynchronously the callback provides you with the result of the executed process, i.e. the exit value or an exception.
Executor.execute(CommandLine, java.util.Map, ExecuteResultHandler)
Method Summary | |
---|---|
void |
onProcessComplete(int exitValue)
The asynchronous execution completed. |
void |
onProcessFailed(ExecuteException e)
The asynchronous execution failed. |
Method Detail |
---|
void onProcessComplete(int exitValue)
exitValue
- the exit value of the sub-processvoid onProcessFailed(ExecuteException e)
e
- the ExecuteException
containing the root cause
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |