DefaultCloudEventImplpublic interface CloudEvent<T>
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getCloudEventsVersion() |
The version of the CloudEvents specification which the event uses.
|
java.util.Optional<java.lang.String> |
getContentType() |
Describe the data encoding format
|
java.util.Optional<T> |
getData() |
The event payload.
|
java.lang.String |
getEventID() |
ID of the event.
|
java.util.Optional<java.time.ZonedDateTime> |
getEventTime() |
Timestamp of when the event happened.
|
java.lang.String |
getEventType() |
Type of occurrence which has happened.
|
java.util.Optional<java.lang.String> |
getEventTypeVersion() |
The version of the eventType.
|
java.util.Optional<java.util.Map> |
getExtensions() |
This is for additional metadata and this does not have a mandated structure.
|
java.util.Optional<java.net.URI> |
getSchemaURL() |
A link to the schema that the data attribute adheres to.
|
java.net.URI |
getSource() |
This describes the event producer.
|
java.lang.String getEventType()
java.lang.String getCloudEventsVersion()
java.net.URI getSource()
java.lang.String getEventID()
java.util.Optional<java.lang.String> getEventTypeVersion()
java.util.Optional<java.time.ZonedDateTime> getEventTime()
java.util.Optional<java.net.URI> getSchemaURL()
java.util.Optional<java.lang.String> getContentType()
java.util.Optional<java.util.Map> getExtensions()
java.util.Optional<T> getData()
Copyright © 2018. All Rights Reserved.