Class AbstractItemRegistryEvent

    • Constructor Detail

      • AbstractItemRegistryEvent

        protected AbstractItemRegistryEvent​(String topic,
                                            String payload,
                                            String source,
                                            ItemDTO item)
        Must be called in subclass constructor to create a new item registry event.
        Parameters:
        topic - the topic
        payload - the payload
        source - the source, can be null
        item - the item data transfer object
    • Method Detail

      • getItem

        public ItemDTO getItem()
        Gets the item.
        Returns:
        the item