Class ItemEvent

    • Field Detail

      • itemName

        protected final String itemName
    • Constructor Detail

      • ItemEvent

        public ItemEvent​(String topic,
                         String payload,
                         String itemName,
                         @Nullable String source)
        Constructs a new item state event.
        topic - the topic
        payload - the payload
        itemName - the item name
        source - the source, can be null
    • Method Detail

      • getItemName

        public String getItemName()
        Gets the item name.
        the item name