Annotation Interface PactFilter
Annotation to filter pacts. The default implementation is to filter by provider state.
The filter supports regular expressions.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<? extends InteractionFilter>Use this class as filter implementation.
-
Element Details
-
value
String[] valueValues to use for filtering. Regular expressions are allowed, like "^state \\d". If none of the provided values matches, the interaction is not verified.
-
-
-
filter
Class<? extends InteractionFilter> filterUse this class as filter implementation. The class must implement theInteractionFilterinterface and provide a default constructor. The default value is filtering by provider state.- Default:
- au.com.dius.pact.provider.junitsupport.filter.InteractionFilter.ByProviderState.class
-