|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mindswap.owls.process.execution.DefaultProcessMonitor
public class DefaultProcessMonitor
A simple process monitor implementation that prints the progress to console
| Constructor Summary | |
|---|---|
DefaultProcessMonitor()
|
|
DefaultProcessMonitor(java.io.Writer writer)
|
|
| Method Summary | |
|---|---|
void |
executionFailed(ExecutionException e)
Called when the execution fails due to an execption. |
void |
executionFinished()
Called only once when the execution of the top-most process finishes. |
void |
executionFinished(Process process,
ValueMap inputs,
ValueMap outputs)
Called after the execution of a process finishes. |
void |
executionStarted()
Called only once when the execution of the top-most process starts |
void |
executionStarted(Process process,
ValueMap inputs)
Called before the execution of a process starts. |
int |
getMonitorFilter()
|
void |
setMonitorFilter(int processType)
Control if executionStarted and executionFinished will be called for all the processes or only for a specific type of processes. |
void |
setWriter(java.io.Writer writer)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultProcessMonitor()
public DefaultProcessMonitor(java.io.Writer writer)
| Method Detail |
|---|
public void setWriter(java.io.Writer writer)
public void executionStarted()
ProcessMonitor
executionStarted in interface ProcessMonitorpublic void executionFinished()
ProcessMonitor
executionFinished in interface ProcessMonitor
public void executionStarted(Process process,
ValueMap inputs)
ProcessMonitor
executionStarted in interface ProcessMonitor
public void executionFinished(Process process,
ValueMap inputs,
ValueMap outputs)
ProcessMonitor
executionFinished in interface ProcessMonitorpublic void executionFailed(ExecutionException e)
ProcessMonitor
executionFailed in interface ProcessMonitorpublic void setMonitorFilter(int processType)
ProcessMonitor
Process.ANYProcess.ATOMICProcess.COMPOSITEProcess.SIMPLEbitwise or) of these values are also valid.
setMonitorFilter in interface ProcessMonitorpublic int getMonitorFilter()
getMonitorFilter in interface ProcessMonitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||