Annotation Interface VersionSelector
Used to specify which versions to use when querying the Pact matrix.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionConsumer name to fetch pacts for.If a pact for the specified tag does not exist, then use this tag as a fallback."true" to fetch the latest version of the pact, or "false" to fetch all versionsTags to use to fetch pacts for.
-
Element Details
-
tag
String tagTags to use to fetch pacts for. Empty string represents all tags.- Default:
- ""
-
latest
String latest"true" to fetch the latest version of the pact, or "false" to fetch all versions- Default:
- "true"
-
consumer
String consumerConsumer name to fetch pacts for. Empty string represents all consumers- Default:
- ""
-
fallbackTag
String fallbackTagIf a pact for the specified tag does not exist, then use this tag as a fallback. This is useful for co-ordinating development between consumer and provider teams when matching branch names are used.- Default:
- ""
-