org.riotfamily.common.scheduling
Interface ScheduledTask

All Known Implementing Classes:
LongConversationTask, MethodInvokingScheduledTask, ScheduledTaskSupport, TransactionalScheduledTask

public interface ScheduledTask

Interface for scheduled background tasks.

Since:
8.0
Author:
Felix Gnass [fgnass at neteye dot de]

Method Summary
 void execute()
          Executes the task.
 String[] getTriggerNames()
          Returns the name of the triggers on which the task should be executed.
 

Method Detail

getTriggerNames

String[] getTriggerNames()
Returns the name of the triggers on which the task should be executed.


execute

void execute()
             throws Exception
Executes the task. The method is invoked by the Quartz scheduler when one of the configured triggers fires.

Throws:
Exception