Class ItemAddedEvent

    • Field Detail

      • TYPE

        public static final String TYPE
        The item added event type.
    • Constructor Detail

      • ItemAddedEvent

        protected ItemAddedEvent​(String topic,
                                 String payload,
                                 ItemDTO item)
        Constructs a new item added event object.
        topic - the topic
        payload - the payload
        item - the item data transfer object
    • Method Detail

      • getType

        public String getType()
        Description copied from interface: Event
        Gets the event type.
        the event type