public class CdsMessage extends Object
| Constructor and Description |
|---|
CdsMessage() |
| Modifier and Type | Method and Description |
|---|---|
static CdsMessage |
create(String service,
String event,
Map<String,Object> data,
CdsRuntime runtime)
Factory method for creating an instance of the CDS message.
|
static CdsMessage |
parse(String jsonString)
Parses the
CdsMessage from the given raw message |
CdsMessageEventContext |
toCdsMessageEventContext()
Creates the CDS event context from the message.
|
public static CdsMessage create(String service, String event, Map<String,Object> data, CdsRuntime runtime)
service - full qualified service nameevent - the event namedata - the structured payload data of the messageruntime - the CdsRuntimeCdsMessagepublic static CdsMessage parse(String jsonString)
CdsMessage from the given raw messagejsonString - the raw JSON messageCdsMessagepublic CdsMessageEventContext toCdsMessageEventContext()
Copyright © 2021. All rights reserved.