|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.sync.exml.workspace.api.process.ProcessListener
public abstract class ProcessListener
The process listener. Listens on an executed process.
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
Constructor Summary | |
---|---|
ProcessListener()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessListener()
Method Detail |
---|
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.
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |