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.
        Parameters:
        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.
        Returns:
        the event type
      • getOldThing

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