public class CosmosMappingEvent<T>
extends org.springframework.context.ApplicationEvent
source| Constructor and Description |
|---|
CosmosMappingEvent(T source,
JsonNode document,
String containerName)
Creates new
CosmosMappingEvent. |
| Modifier and Type | Method and Description |
|---|---|
String |
getContainerName()
Get the container the event refers to.
|
JsonNode |
getDocument() |
T |
getSource() |
toStringpublic CosmosMappingEvent(T source, @Nullable JsonNode document, @Nullable String containerName)
CosmosMappingEvent.source - must not be null.document - can be null.containerName - can be null.@Nullable public JsonNode getDocument()
@Nullable public String getContainerName()
public T getSource()
getSource in class EventObjectVisit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.