|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessRunnerOutputListener
Listens for lines being written to stdout and stderr by a
ProcessRunner
.
Method Summary | |
---|---|
void |
outputWritten(java.lang.Process p,
java.lang.String output,
boolean stdout)
Called when output was written to stdout or stderr. |
void |
processCompleted(java.lang.Process p,
int rc,
java.lang.Throwable e)
Called when the process completes. |
Method Detail |
---|
void outputWritten(java.lang.Process p, java.lang.String output, boolean stdout)
p
- The process running.output
- The output written.stdout
- If true
, this is stdout output.
If false
, it is stderr.void processCompleted(java.lang.Process p, int rc, java.lang.Throwable e)
p
- The process that completed.rc
- The return code, or Integer.MIN_VALUE
if the process
terminated abnormally.e
- An exception. This will be null
if the process
terminated normally, or ended abruptly but somehow without
throwing an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |