Interface EventAttributes

  • All Known Implementing Classes:
    RepoEvent

    public interface EventAttributes
    Event's attributes conforming to CloudEvents v1.0 specification.
    • Method Detail

      • getId

        String getId()
        Returns:
        The ID of the event, generated by the producer.
      • getType

        String getType()
        Returns:
        The type of an event which has happened.
      • getSource

        URI getSource()
        Returns:
        The context in which an event happened. E.g. The instance of a DBP component that produced the event.
      • getDataschema

        URI getDataschema()
        Returns:
        The schema that data adheres to.
      • getSpecversion

        String getSpecversion()
        Returns:
        The CloudEvents specification version
      • getTime

        ZonedDateTime getTime()
        Returns:
        The timestamp of when the occurrence happened.
      • getDatacontenttype

        String getDatacontenttype()
        Returns:
        The content type of the data attribute adhering to the RFC2046