|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProcessListener
Listener interface for notification from running process
To implement this interface, extend ProcessListenerAdapter
| Method Summary | |
|---|---|
void |
onErrorOutput(java.lang.String text)
process error output |
void |
onStandardOutput(java.lang.String text)
process standard output |
void |
processFinished(int exitCode)
Process finished, terminated or failed to start. |
void |
processStarted(java.lang.String programCommandLine,
java.io.File workingDirectory)
Process was started.* |
| Method Detail |
|---|
void onStandardOutput(@NotNull
java.lang.String text)
text - process stdout output text
void onErrorOutput(@NotNull
java.lang.String text)
text - process stderr output text
void processStarted(@NotNull
java.lang.String programCommandLine,
@NotNull
java.io.File workingDirectory)
programCommandLine - programm commandline to log. The actual commandline was
collectes as list of arguments and sent to java api as the list.workingDirectory - process working directoryvoid processFinished(int exitCode)
processStarted(String, java.io.File) was called before
exitCode - resulting exit code of the process
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||