- All Known Subinterfaces:
CloudEvent,CloudEventContext
@ParametersAreNonnullByDefault
public interface CloudEventExtensions
The event extensions.
Extensions values could be String/Number/Boolean
-
Method Summary
Modifier and TypeMethodDescriptiongetExtension(String extensionName) Get the extension attribute namedextensionName
-
Method Details
-
getExtension
Get the extension attribute namedextensionName- Parameters:
extensionName- the extension name- Returns:
- the extension value in one of the valid types String/Number/Boolean or null if this instance doesn't contain such extension
-
getExtensionNames
- Returns:
- The non-null extension attributes names in this instance
-