Annotation Type VersionCondition


  • @Target({TYPE,METHOD})
    @Retention(RUNTIME)
    @Documented
    @Inherited
    public @interface VersionCondition
    Restrict execution of a test class or method to a range of versions.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String maxVersion
      The maximum Nessie version, inclusive, that the annotated element (test class or method) shall run against.
      java.lang.String minVersion
      The minimum Nessie version, inclusive, that the annotated element (test class or method) shall run against.
    • Element Detail

      • minVersion

        java.lang.String minVersion
        The minimum Nessie version, inclusive, that the annotated element (test class or method) shall run against. To include the current in-tree Nessie version, use "current".
        Default:
        ""
      • maxVersion

        java.lang.String maxVersion
        The maximum Nessie version, inclusive, that the annotated element (test class or method) shall run against. To exclude the current in-tree Nessie version, use "not-current".
        Default:
        ""