com.uwyn.rife.mail.executors
Class DatabaseMailQueueExecutor
java.lang.Object
com.uwyn.rife.scheduler.Executor
com.uwyn.rife.mail.executors.DatabaseMailQueueExecutor
- All Implemented Interfaces:
- MailQueueExecutor
public class DatabaseMailQueueExecutor
- extends Executor
- implements MailQueueExecutor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseMailQueueExecutor
public DatabaseMailQueueExecutor()
isDeliveryAllowed
public boolean isDeliveryAllowed(Email email)
- Description copied from interface:
MailQueueExecutor
- Checks whether an
Email instance is allowed to be
delivered. This is called before sending each message so that it's
possible to filter out email that for some reason is not allowed
for delivery. The email will then simply be skipped.
- Specified by:
isDeliveryAllowed in interface MailQueueExecutor
- Parameters:
email - The Email instance that should be
verified
- Returns:
true if the email is allowed to be delivered;
or
false otherwise
executeTask
public boolean executeTask(Task task)
- Specified by:
executeTask in class Executor
getHandledTasktype
public String getHandledTasktype()
- Specified by:
getHandledTasktype in class Executor
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.