public abstract class SpoolerTaskSupport extends Object implements SpoolerTask
Constructor and Description |
---|
SpoolerTaskSupport(ExecutionPlan[] plans) |
SpoolerTaskSupport(ExecutionPlan[] plans,
long nextExecution)
Constructor of the class
|
Modifier and Type | Method and Description |
---|---|
boolean |
closed() |
long |
getCreation() |
Array |
getExceptions() |
String |
getId() |
ExecutionPlan[] |
getPlans() |
long |
lastExecution()
return last execution of this task
|
long |
nextExecution() |
void |
setClosed(boolean closed) |
void |
setId(String id) |
void |
setLastExecution(long lastExecution) |
void |
setNextExecution(long nextExecution) |
int |
tries()
returns how many tries to send are already done
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
detail, execute, getType, subject
public SpoolerTaskSupport(ExecutionPlan[] plans, long nextExecution)
plans
- timeOffset
- offset from the local time to the config timepublic SpoolerTaskSupport(ExecutionPlan[] plans)
public final String getId()
getId
in interface SpoolerTask
public final void setId(String id)
setId
in interface SpoolerTask
public final long lastExecution()
lastExecution
in interface SpoolerTask
public final void setNextExecution(long nextExecution)
setNextExecution
in interface SpoolerTask
public final long nextExecution()
nextExecution
in interface SpoolerTask
public final int tries()
tries
in interface SpoolerTask
public final Array getExceptions()
getExceptions
in interface SpoolerTask
public final void setClosed(boolean closed)
setClosed
in interface SpoolerTask
public final boolean closed()
closed
in interface SpoolerTask
public ExecutionPlan[] getPlans()
getPlans
in interface SpoolerTask
public long getCreation()
getCreation
in interface SpoolerTask
public void setLastExecution(long lastExecution)
setLastExecution
in interface SpoolerTask
Copyright © 2015 Lucee