railo.runtime.spooler
Class SpoolerTaskSupport
java.lang.Object
railo.runtime.spooler.SpoolerTaskSupport
- All Implemented Interfaces:
- Serializable, SpoolerTask
- Direct Known Subclasses:
- ChildSpoolerTask, MailSpoolerTask, SpoolerTaskWS, TestTask
public abstract class SpoolerTaskSupport
- extends Object
- implements SpoolerTask
- See Also:
- Serialized Form
SpoolerTaskSupport
public SpoolerTaskSupport(ExecutionPlan[] plans)
- Constructor of the class
- Parameters:
plans
- timeOffset
- offset from the local time to the config time
getId
public final String getId()
- Specified by:
getId
in interface SpoolerTask
setId
public final void setId(String id)
- Specified by:
setId
in interface SpoolerTask
lastExecution
public final long lastExecution()
- return last execution of this task
- Specified by:
lastExecution
in interface SpoolerTask
- Returns:
- last execution
setNextExecution
public final void setNextExecution(long nextExecution)
- Specified by:
setNextExecution
in interface SpoolerTask
nextExecution
public final long nextExecution()
- Specified by:
nextExecution
in interface SpoolerTask
tries
public final int tries()
- returns how many tries to send are already done
- Specified by:
tries
in interface SpoolerTask
- Returns:
- tries
getExceptions
public final Array getExceptions()
- Specified by:
getExceptions
in interface SpoolerTask
- Returns:
- the exceptions
setClosed
public final void setClosed(boolean closed)
- Specified by:
setClosed
in interface SpoolerTask
closed
public final boolean closed()
- Specified by:
closed
in interface SpoolerTask
getPlans
public ExecutionPlan[] getPlans()
- Specified by:
getPlans
in interface SpoolerTask
- Returns:
- the plans
getCreation
public long getCreation()
- Specified by:
getCreation
in interface SpoolerTask
- Returns:
- the creation
setLastExecution
public void setLastExecution(long lastExecution)
- Specified by:
setLastExecution
in interface SpoolerTask
Copyright © 2012 Railo