Class InteractionFilter.ByProviderState<I extends au.com.dius.pact.core.model.Interaction>
- java.lang.Object
-
- au.com.dius.pact.provider.junitsupport.filter.InteractionFilter.ByProviderState<I>
-
- 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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface au.com.dius.pact.provider.junitsupport.filter.InteractionFilter
InteractionFilter.ByProviderState<I extends au.com.dius.pact.core.model.Interaction>, InteractionFilter.ByRequestPath<I extends au.com.dius.pact.core.model.Interaction>
-
-
Constructor Summary
Constructors Constructor Description ByProviderState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.function.Predicate<I>buildPredicate(java.lang.String[] values)
-
-
-
Method Detail
-
buildPredicate
public java.util.function.Predicate<I> buildPredicate(java.lang.String[] values)
- Specified by:
buildPredicatein interfaceInteractionFilter<I extends au.com.dius.pact.core.model.Interaction>
-
-