public abstract class OgemaEventConstants extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE_L10N
The function used to create a message for a selected locale, type is
LocalizableEventMessage |
static String |
OGEMA_TIMESTAMP
The OGEMA execution time when the event occurred.
|
static String |
TITLE_L10N
The function used to create a message for a selected locale, type is
LocalizableEventMessage |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,?> |
createEventProperties(org.ogema.core.application.ApplicationManager appman,
String message,
LocalizableEventMessage title,
LocalizableEventMessage messageL10N)
Initializes a new event properties map with the OGEMA properties plus
the standard bundle, message and timestamp properties.
|
public static final String OGEMA_TIMESTAMP
public static final String TITLE_L10N
LocalizableEventMessagepublic static final String MESSAGE_L10N
LocalizableEventMessagepublic static Map<String,?> createEventProperties(org.ogema.core.application.ApplicationManager appman, String message, LocalizableEventMessage title, LocalizableEventMessage messageL10N)
appman - Application manager of the OGEMA application.message - (optional) event message.title - (optional) localizable event title for use in front ends.messageL10N - (optional) localizable event message for use in front ends.Copyright © 2018. All rights reserved.