public interface RunnableProcessObserver
Modifier and Type | Method and Description |
---|---|
void |
onProcessExit(String processId,
int exitCode)
This will be called right after the process exited.
|
void |
onProcessStarted(String processId)
This will be called right after the process is launched.
|
void onProcessStarted(String processId)
processId
- the id of the process that started.void onProcessExit(String processId, int exitCode)
exitCode
- the return code of the process.processId
- the id of the process that exited.Copyright © 2017 The Apache Software Foundation. All rights reserved.