railo.runtime.spooler
Interface SpoolerTask

All Superinterfaces:
Serializable
All Known Implementing Classes:
ChildSpoolerTask, MailSpoolerTask, RemoteClientTask, SpoolerTaskSupport, SpoolerTaskWS, TestTask

public interface SpoolerTask
extends Serializable


Method Summary
 boolean closed()
           
 Struct detail()
          returns advanced info to the task
 Object execute(Config config)
          execute Task
 long getCreation()
           
 Array getExceptions()
           
 String getId()
           
 ExecutionPlan[] getPlans()
           
 String getType()
          returns task type as String
 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)
           
 String subject()
          returns a short info to the task
 int tries()
          returns how many tries to send are already done
 

Method Detail

getId

String getId()

setId

void setId(String id)

execute

Object execute(Config config)
               throws PageException
execute Task

Parameters:
config -
Throws:
SpoolerException
PageException

subject

String subject()
returns a short info to the task

Returns:
Task subject

getType

String getType()
returns task type as String

Returns:
Task subject

detail

Struct detail()
returns advanced info to the task

Returns:
Task detail

lastExecution

long lastExecution()
return last execution of this task

Returns:
last execution

setNextExecution

void setNextExecution(long nextExecution)

nextExecution

long nextExecution()

tries

int tries()
returns how many tries to send are already done

Returns:
tries

getExceptions

Array getExceptions()
Returns:
the exceptions

setClosed

void setClosed(boolean closed)

closed

boolean closed()

getPlans

ExecutionPlan[] getPlans()
Returns:
the plans

getCreation

long getCreation()
Returns:
the creation

setLastExecution

void setLastExecution(long lastExecution)


Copyright © 2012 Railo