|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITaskSource
This interface is created so that the ActionTask class can be part of vrs.core/main, so that class can be reused as Thread spawn class. If an implementation want to keep track of the ActionTasks it spawns (BrowserController) is can implement this interface. When creating a new ActionTask the ITaskSource can be given as parent of that task.
ActionTask
Method Summary | |
---|---|
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 str)
Message printer for the ActionTask to print messages and/or errors |
void |
setHasTasks(boolean b)
Method to update the TaskSource if it has tasks running |
Method Detail |
---|
void setHasTasks(boolean b)
java.lang.String getID()
void messagePrintln(java.lang.String str)
void handle(java.lang.Exception e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |