Class InboxUpdatedEvent

All Implemented Interfaces:
Event

@NonNullByDefault public class InboxUpdatedEvent extends AbstractInboxEvent
An InboxUpdatedEvent notifies subscribers that a discovery result has been updated in the inbox. Inbox updated events must be created with the InboxEventFactory.
Author:
Stefan Bußweiler - Initial contribution
  • Field Details

    • TYPE

      public static final String TYPE
      The inbox updated event type.
  • Constructor Details

    • InboxUpdatedEvent

      protected InboxUpdatedEvent(String topic, String payload, DiscoveryResultDTO discoveryResult)
      Constructs a new inbox updated event object.
      Parameters:
      topic - the topic
      payload - the payload
      discoveryResult - the discovery-result data transfer object
  • Method Details

    • getType

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

      public String toString()
      Overrides:
      toString in class Object