Package com.flowable.notification.engine
Class NotificationEngines
java.lang.Object
com.flowable.notification.engine.NotificationEngines
public abstract class NotificationEngines
extends java.lang.Object
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected static boolean
initialized
static java.lang.String
NAME_DEFAULT
protected static java.util.Map<java.lang.String,NotificationEngine>
notificationEngines
-
Constructor Summary
Constructors Constructor Description NotificationEngines()
-
Method Summary
Modifier and Type Method Description static NotificationEngine
getDefaultNotificationEngine()
static NotificationEngine
getNotificationEngine(java.lang.String notificationEngineName)
Obtain an notification engine by name.static java.util.Map<java.lang.String,NotificationEngine>
getNotificationEngines()
Provides access to notification engines to application clients in a managed server environment.static boolean
isInitialized()
static void
registerEngine(NotificationEngine notificationEngine)
Registers the given notification engine.static void
setInitialized(boolean initialized)
static void
unregister(NotificationEngine notificationEngine)
Unregisters the given notification engine.
-
Field Details
-
NAME_DEFAULT
public static final java.lang.String NAME_DEFAULT- See Also:
- Constant Field Values
-
initialized
protected static boolean initialized -
notificationEngines
-
-
Constructor Details
-
NotificationEngines
public NotificationEngines()
-
-
Method Details
-
registerEngine
Registers the given notification engine. NoEngineInfo
will be available for this notification engine. -
unregister
Unregisters the given notification engine. -
getDefaultNotificationEngine
-
getNotificationEngine
Obtain an notification engine by name.- Parameters:
notificationEngineName
- is the name of the notification engine
-
getNotificationEngines
Provides access to notification engines to application clients in a managed server environment. -
isInitialized
public static boolean isInitialized() -
setInitialized
public static void setInitialized(boolean initialized)
-