Class ThingUpdatedEvent

    • Field Detail

      • TYPE

        public static final String TYPE
        The thing updated event type.
    • Constructor Detail

      • ThingUpdatedEvent

        protected ThingUpdatedEvent​(String topic,
                                    String payload,
                                    ThingDTO thing,
                                    ThingDTO oldThing)
        Constructs a new thing updated event object.
        topic - the topic
        payload - the payload
        thing - the thing data transfer object
        oldThing - the old thing data transfer object
    • Method Detail

      • getType

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

        public ThingDTO getOldThing()
        Gets the old thing.
        the oldThing