Interface EventAdapter<T extends org.eclipse.ditto.signals.events.base.Event<?>>

  • Type Parameters:
    T - the type mapped by this Adapter.
    All Superinterfaces:
    Adapter<T>

    public interface EventAdapter<T extends org.eclipse.ditto.signals.events.base.Event<?>>
    extends Adapter<T>
    An Adapter maps objects of type EventAdapter to an Adaptable and vice versa.
    Since:
    1.1.0
    • Method Detail

      • getCriteria

        default Set<TopicPath.Criterion> getCriteria()
        Description copied from interface: Adapter
        Retrieve the set of criteria supported by this adapter.
        Specified by:
        getCriteria in interface Adapter<T extends org.eclipse.ditto.signals.events.base.Event<?>>
        Returns:
        the supported criteria.
      • getActions

        default Set<TopicPath.Action> getActions()
        Description copied from interface: Adapter
        Retrieve the set of actions supported by this adapter.
        Specified by:
        getActions in interface Adapter<T extends org.eclipse.ditto.signals.events.base.Event<?>>
        Returns:
        the set of actions.
      • isForResponses

        default boolean isForResponses()
        Description copied from interface: Adapter
        Retrieve whether this adapter is for responses.
        Specified by:
        isForResponses in interface Adapter<T extends org.eclipse.ditto.signals.events.base.Event<?>>
        Returns:
        whether this adapter is for responses.