@API(type=EXTENDABLE,
src=PUBLIC)
public abstract class ProcessListener
extends java.lang.Object
Constructor and Description |
---|
ProcessListener() |
Modifier and Type | Method and Description |
---|---|
void |
newErrorLine(java.lang.String line)
Called when the process outputs a line in the System.err
|
void |
newOutputLine(java.lang.String line)
Called when the process outputs a line in the System.out
|
void |
processCouldNotStart(java.lang.String message)
Called when the system could not exec the process.
|
void |
processEnded(int exitCode)
Called when the process ends.
|
void |
processStarted(java.lang.String processName,
java.lang.String fullCommand)
Called when the process is started.
|
public void newOutputLine(java.lang.String line)
line
- The output line.public void newErrorLine(java.lang.String line)
line
- The error line.public void processEnded(int exitCode)
exitCode
- The exit code of the process.public void processStarted(java.lang.String processName, java.lang.String fullCommand)
fullCommand
- The full command line.processName
- The name of process.public void processCouldNotStart(java.lang.String message)
message
- The error message.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.