-
- All Implemented Interfaces:
-
java.lang.annotation.Annotation
@Retention(value = RetentionPolicy.RUNTIME)@Target(value = ElementType.TYPE)@Inherited() public @interface VersionSelector
Used to specify which versions to use when querying the Pact matrix.
-
-
Method Summary
Modifier and Type Method Description abstract String
tag()
Tags to use to fetch pacts for. abstract String
latest()
"true" to fetch the latest version of the pact, or "false" to fetch all versions abstract String
consumer()
Consumer name to fetch pacts for. abstract String
fallbackTag()
If a pact for the specified tag does not exist, then use this tag as a fallback. -
-
Method Detail
-
latest
abstract String latest()
"true" to fetch the latest version of the pact, or "false" to fetch all versions
-
consumer
abstract String consumer()
Consumer name to fetch pacts for. Empty string represents all consumers
-
fallbackTag
abstract String fallbackTag()
If a pact for the specified tag does not exist, then use this tag as a fallback. This is useful forco-ordinating development between consumer and provider teams when matching branch names are used.
-
-
-
-