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