|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpoolerEngine
Method Summary | |
---|---|
void |
add(SpoolerTask task)
adds a task to the engine |
PageException |
execute(SpoolerTask task)
execute task and return error throwed by task |
PageException |
execute(String id)
execute task by id and return error throwed by task |
SpoolerTask[] |
getClosedTasks()
return all closed task that are inside the Engine |
String |
getLabel()
return the label of the engine |
SpoolerTask[] |
getOpenTasks()
return all open task that are inside the Engine |
void |
remove(SpoolerTask task)
remove that task from Spooler |
void |
remove(String id)
remove a task that match given id |
Method Detail |
---|
String getLabel()
void add(SpoolerTask task)
task
- SpoolerTask[] getOpenTasks()
SpoolerTask[] getClosedTasks()
void remove(SpoolerTask task)
task
- void remove(String id)
id
- PageException execute(String id)
id
-
SpoolerException
PageException execute(SpoolerTask task)
task
-
SpoolerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |