Class CloudEventV1
java.lang.Object
io.quarkus.funqy.lambda.model.cloudevents.CloudEventV1
- All Implemented Interfaces:
io.cloudevents.CloudEvent,io.cloudevents.CloudEventAttributes,io.cloudevents.CloudEventContext,io.cloudevents.CloudEventExtensions
This class represents a
CloudEvent in version 1.0 and is Jackson friendly-
Constructor Summary
ConstructorsConstructorDescriptionCloudEventV1(String specVersion, String id, String type, URI source, String dataContentType, URI dataSchema, String subject, OffsetDateTime time, com.fasterxml.jackson.databind.JsonNode data, com.fasterxml.jackson.databind.JsonNode dataBase64) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.cloudevents.CloudEventAttributes
getAttributeNames
-
Constructor Details
-
CloudEventV1
-
-
Method Details
-
add
-
getData
public io.cloudevents.CloudEventData getData()- Specified by:
getDatain interfaceio.cloudevents.CloudEvent
-
getSpecVersion
public io.cloudevents.SpecVersion getSpecVersion()- Specified by:
getSpecVersionin interfaceio.cloudevents.CloudEventAttributes
-
getId
- Specified by:
getIdin interfaceio.cloudevents.CloudEventAttributes
-
getType
- Specified by:
getTypein interfaceio.cloudevents.CloudEventAttributes
-
getSource
- Specified by:
getSourcein interfaceio.cloudevents.CloudEventAttributes
-
getDataContentType
- Specified by:
getDataContentTypein interfaceio.cloudevents.CloudEventAttributes
-
getDataSchema
- Specified by:
getDataSchemain interfaceio.cloudevents.CloudEventAttributes
-
getSubject
- Specified by:
getSubjectin interfaceio.cloudevents.CloudEventAttributes
-
getTime
- Specified by:
getTimein interfaceio.cloudevents.CloudEventAttributes
-
getAttribute
- Specified by:
getAttributein interfaceio.cloudevents.CloudEventAttributes- Throws:
IllegalArgumentException
-
getExtension
- Specified by:
getExtensionin interfaceio.cloudevents.CloudEventExtensions
-
getExtensionNames
- Specified by:
getExtensionNamesin interfaceio.cloudevents.CloudEventExtensions
-