Interface MessageMetadataType

    • Method Detail

      • getPayloadType

        Optional<MetadataType> getPayloadType()
        The payload metadata types
        Returns:
        The payload type
      • getPayloadAnnotations

        Optional<Set<TypeAnnotation>> getPayloadAnnotations()
        The payload annotations
        Returns:
        The set of payload annotations
      • getPayloadAnnotation

        <T extends TypeAnnotationOptional<T> getPayloadAnnotation​(Class<T> annotation)
        The payload annotations of provided annotation class
        Parameters:
        annotation - class
        Returns:
        optional annotation
      • getAttributesType

        Optional<MetadataType> getAttributesType()
        The attributes metadata type
        Returns:
        The attribute type
      • getAttributesAnnotations

        Optional<Set<TypeAnnotation>> getAttributesAnnotations()
        The attributes annotations
        Returns:
        The set of attributes annotations
      • getAttributesAnnotation

        <T extends TypeAnnotationOptional<T> getAttributesAnnotation​(Class<T> annotation)
        The attributes annotations of provided annotation class
        Parameters:
        annotation - class
        Returns:
        optional annotation
      • builder

        static MessageMetadataTypeBuilder builder​(ObjectType messageType)
        Creates a builder for the MessageMetadataType based on the specified message
        Parameters:
        messageType - The message type to build builder from.
        Returns:
        The builder