Interface IServiceEventQualifier

All Known Implementing Classes:
DerivedDataObjectStatusEventQualifier, ServiceEventQualifier

public interface IServiceEventQualifier
The qualifier for IServiceEvent.
  • Method Details

    • getServiceEventClass

      Class<? extends IServiceEvent> getServiceEventClass()
      Returns the class of the IServiceEvent that the qualifier covers.
      Returns:
      the class of the IServiceEvent, never null.
    • test

      default boolean test(IServiceEvent event)
      Tests the given event belongs to qualifier. By default returns true if the getServiceEventClass() is assignable from event class.
      Parameters:
      event - the event.
      Returns:
      true the given event belongs to qualifier, false - overwise.