public interface SpoolerTask
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
closed() |
Struct |
detail()
returns advanced info to the task
|
java.lang.Object |
execute(Config config)
execute Task
|
long |
getCreation() |
Array |
getExceptions() |
java.lang.String |
getId() |
ExecutionPlan[] |
getPlans() |
java.lang.String |
getType()
returns task type as String
|
long |
lastExecution()
return last execution of this task
|
long |
nextExecution() |
void |
setClosed(boolean closed) |
void |
setId(java.lang.String id) |
void |
setLastExecution(long lastExecution) |
void |
setNextExecution(long nextExecution) |
java.lang.String |
subject()
returns a short info to the task
|
int |
tries()
returns how many tries to send are already done
|
java.lang.String getId()
void setId(java.lang.String id)
java.lang.Object execute(Config config) throws PageException
config
- SpoolerException
PageException
java.lang.String subject()
java.lang.String getType()
Struct detail()
long lastExecution()
void setNextExecution(long nextExecution)
long nextExecution()
int tries()
Array getExceptions()
void setClosed(boolean closed)
boolean closed()
ExecutionPlan[] getPlans()
long getCreation()
void setLastExecution(long lastExecution)