public class FilteredMailEventActivitySource extends FilteredMailEventSource
FilteredMailEventSource and MailEventActivitySource.filterBody, filterFlagAnswered, filterFlagDeleted, filterFlagDraft, filterFlagFlagged, filterFlagRecent, filterFlagSeen, filterFlagUser, filterFrom, filterSubject, filterTo, patternBody, patternFrom, patternSubject, patternToeventManagerURIs, folderName, host, keepConnection, password, pollTime, port, protocol, startPoint, store, timeout, userNameeventType, handlerList, id, lock, logger, sourceType, thread, threadLockCONF_BODY_FILTER, CONF_FLAG_ANSWERED_FILTER, CONF_FLAG_DELETED_FILTER, CONF_FLAG_DRAFT_FILTER, CONF_FLAG_FLAGGED_FILTER, CONF_FLAG_RECENT_FILTER, CONF_FLAG_SEEN_FILTER, CONF_FLAG_USER_FILTER, CONF_FROM_FILTER, CONF_SUBJECT_FILTER, CONF_TO_FILTERCONF_FOLDER, CONF_HOST, CONF_PASSWORD, CONF_PORT, CONF_PROTOCOL, CONF_TIMEOUT, CONF_USER_NAMECONF_KEEP_CONNECTIONCONF_POLL_TIME, CONF_START_TIME| Constructor and Description |
|---|
FilteredMailEventActivitySource(Configuration conf,
DefaultEventManager eventManager,
Registry registry)
Default constructor for a plugin of an
EventManager called by
a service registry. |
| Modifier and Type | Method and Description |
|---|---|
void |
setConfiguration(Configuration conf,
boolean completed)
Sets the internal fields according to the values of the designated
configuration.
|
createMailEvent, filtersApply, filtersApplycheckForAndHandleEvent, close, closeStore, connectToStore, getPollTime, getStartTime, init, nextHandler, openFolder, setConfiguration, terminate, timedOut, verifyConfigurationValuesaddAll, addedHandlerLocked, addedHandlerLocked, addHandler, createPattern, forwardEvent, getEventHandler, getHierarchicalSourceName, getID, getType, maskedInterrupt, maskInterrupt, removeHandler, removingHandlerLocked, replaceValueParams, run, unmaskInterruptclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAll, addHandler, getEventHandler, getHierarchicalSourceName, getID, getType, removeHandler, setConfigurationpublic FilteredMailEventActivitySource(Configuration conf, DefaultEventManager eventManager, Registry registry) throws ConfigurationException
EventManager called by
a service registry.conf - The configuration as provided from the registry.eventManager - The event manager this event source is a plugin of.registry - The registry of this plugin.ConfigurationException - If the configuration is not valid for a
PollingMailSource and a FilteredMailSource, a
ConfigurationException will be thrown.public void setConfiguration(Configuration conf, boolean completed) throws ConfigurationException
setConfiguration in class FilteredMailEventSourceconf - The configuration from which to get the configuration values.completed - Whether the configuration is complete after this setting
and therefore the values should be
verified.ConfigurationException - If there are problems with the
configuration, for instance the configuration does not provide
required values, a ConfigurationException may be
thrown.