Interface QueryCommandAdapter<T extends org.eclipse.ditto.signals.commands.base.Command<?>>

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

    public interface QueryCommandAdapter<T extends org.eclipse.ditto.signals.commands.base.Command<?>>
    extends Adapter<T>
    An Adapter mixin for query commands.
    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.commands.base.Command<?>>
        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.commands.base.Command<?>>
        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.commands.base.Command<?>>
        Returns:
        whether this adapter is for responses.