Class NotifyActivityAsyncObserver
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.web.activities.observation.NotifyActivityObserver
org.ametys.web.activities.observation.NotifyActivityAsyncObserver
- All Implemented Interfaces:
AsyncObserver
,Observer
,LogEnabled
,PluginAware
,Serviceable
Send an async mail notification to user when a new activity is created
-
Field Summary
Fields inherited from class org.ametys.web.activities.observation.NotifyActivityObserver
_activityNotifierEP, _i18nUtils, _pluginName, _resolver
Fields inherited from interface org.ametys.core.observation.Observer
MAX_PRIORITY, MIN_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
_isSupported
(ActivityNotifier notifier, Activity activity) true
if the notifier and the activity are supportedMethods inherited from class org.ametys.web.activities.observation.NotifyActivityObserver
_notify, getPriority, observe, service, setPluginInfo, supports
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.core.observation.AsyncObserver
parallelizable
Methods inherited from interface org.ametys.core.observation.Observer
getPriority, observe, supports
-
Constructor Details
-
NotifyActivityAsyncObserver
public NotifyActivityAsyncObserver()
-
-
Method Details
-
_isSupported
Description copied from class:NotifyActivityObserver
true
if the notifier and the activity are supported- Overrides:
_isSupported
in classNotifyActivityObserver
- Parameters:
notifier
- the notifieractivity
- the activity- Returns:
true
if the notifier and the activity are supported
-