Class InteractionFilter.ByProviderState<I extends au.com.dius.pact.core.model.Interaction>

  • All Implemented Interfaces:
    InteractionFilter<I>
    Enclosing interface:
    InteractionFilter<I extends au.com.dius.pact.core.model.Interaction>

    public static class InteractionFilter.ByProviderState<I extends au.com.dius.pact.core.model.Interaction>
    extends java.lang.Object
    implements InteractionFilter<I>
    Filter interactions by any of their provider state. If one matches any of the values, the interaction is kept and verified.
    • Constructor Detail

      • ByProviderState

        public ByProviderState()
    • Method Detail

      • buildPredicate

        public java.util.function.Predicate<I> buildPredicate​(java.lang.String[] values)
        Specified by:
        buildPredicate in interface InteractionFilter<I extends au.com.dius.pact.core.model.Interaction>