|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.agent.runner.ProcessListenerAdapter
public class ProcessListenerAdapter
| Constructor Summary | |
|---|---|
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.* |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessListenerAdapter()
| Method Detail |
|---|
public void onStandardOutput(@NotNull
java.lang.String text)
ProcessListener
onStandardOutput in interface ProcessListenertext - process stdout output text
public void onErrorOutput(@NotNull
java.lang.String text)
ProcessListener
onErrorOutput in interface ProcessListenertext - process stderr output text
public void processStarted(@NotNull
java.lang.String programCommandLine,
@NotNull
java.io.File workingDirectory)
ProcessListener
processStarted in interface ProcessListenerprogramCommandLine - programm commandline to log. The actual commandline was
collectes as list of arguments and sent to java api as the list.workingDirectory - process working directorypublic void processFinished(int exitCode)
ProcessListenerProcessListener.processStarted(String, java.io.File) was called before
processFinished in interface ProcessListenerexitCode - resulting exit code of the process
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||