|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.uva.vlet.exec.ProcessTaskSource
public class ProcessTaskSource
Simple ProcessTasksource listener. This is not a TaskSource for actual started processes, but for the Tasks started in the Java Process obejcts which watch the started process. For example the streamReader task.
Constructor Summary | |
---|---|
ProcessTaskSource()
|
Method Summary | |
---|---|
boolean |
getHasTasks()
|
java.lang.String |
getID()
Optional ID to use by the ActionTask |
void |
handle(java.lang.Exception e)
Handle Exception thrown by the action task |
void |
messagePrintln(java.lang.String msg)
Message printer for the ActionTask to print messages and/or errors |
void |
setHasTasks(boolean val)
Method to update the TaskSource if it has tasks running |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessTaskSource()
Method Detail |
---|
public java.lang.String getID()
ITaskSource
getID
in interface ITaskSource
public void handle(java.lang.Exception e)
ITaskSource
handle
in interface ITaskSource
public void messagePrintln(java.lang.String msg)
ITaskSource
messagePrintln
in interface ITaskSource
public void setHasTasks(boolean val)
ITaskSource
setHasTasks
in interface ITaskSource
public boolean getHasTasks()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |