| java.lang.Object org.columba.core.filter.AbstractFilterAction
All known Subclasses: org.columba.mail.filter.plugins.CopyMessageAction, org.columba.mail.filter.plugins.ScoreMessageFilterAction, org.columba.mail.filter.plugins.MarkMessageAsReadAction, org.columba.mail.filter.plugins.ColorMessageFilterAction, org.columba.mail.filter.plugins.MoveMessageAction, org.columba.mail.filter.plugins.DeleteMessageAction, org.columba.mail.filter.plugins.PlaySoundFilterAction,
AbstractFilterAction | abstract public class AbstractFilterAction implements IExtensionInterface(Code) | | Action which is executed if a filter found a matching set of messages.
If you need to run time consuming tasks which should be running in the
background you need to create your own Command-Object. You should take a
closer look to the Columba sourcetree. You will find dozens examples of
Command- Objects which implement things like "Reply to Message", "Open
Message in Composer", etc.
author: fdietz |
getCommand | abstract public ICommand getCommand(IFilterAction filterAction, IFolder srcFolder, Object[] uids) throws Exception(Code) | | Parameters: filterAction - filterAction containing the filter actoin configuration Parameters: srcFolder - selected folder Parameters: uids - message UIDs return null for simple tasks, all other tasks have to implementtheir own Command throws: Exception - exception is just passed to the upper-level |
|
|