public class MessageContext extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
getContext(String key)
Gets context.
|
static Object |
getEventContextMap(String eventName,
String id)
Gets event context map.
|
static Map<String,MessageType> |
getMessageTypes()
Gets message types.
|
static boolean |
hasContextValues()
Has context values boolean.
|
static Boolean |
isContains(String key)
Is contains boolean.
|
static boolean |
isEventContextMap(String eventName,
String id)
Gets event context map.
|
static Object |
removeEventContextMap(String eventName)
remove event context map.
|
static void |
setEventContextMap(String eventName,
String id,
Object jsonobject)
Sets event context map.
|
public static Map<String,MessageType> getMessageTypes()
public static boolean hasContextValues()
public static Object getEventContextMap(String eventName, String id)
eventName - the event nameid - the idpublic static Object removeEventContextMap(String eventName)
eventName - the event namepublic static boolean isEventContextMap(String eventName, String id)
eventName - the event nameid - the idpublic static Map<String,Object> getContext(String key)
key - the keypublic static Boolean isContains(String key)
key - the keyCopyright © 2021. All rights reserved.