Package 

Annotation VersionSelector

    • 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.
      • Methods inherited from class java.lang.annotation.Annotation

        annotationType, equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • tag

         abstract String tag()

        Tags to use to fetch pacts for. Empty string represents all tags.

      • 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.