Annotation Type NessieAPI


  • @Target({FIELD,METHOD})
    @Retention(RUNTIME)
    @Inherited
    public @interface NessieAPI
    Fields or method parameters annotated with NessieAPI receive the API instance using the "expected" (or "currently tested") Nessie client version.

    Custom configurations for instances of NessieApi can be provided using the repeated annotation NessieApiBuilderProperty.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String builderClassName  
      TargetVersion targetVersion
      Defines the target Nessie version instance in case multiple Nessie versions are running, for rolling-upgrade tests.
    • Element Detail

      • builderClassName

        java.lang.String builderClassName
        Default:
        "org.projectnessie.client.http.HttpClientBuilder"
      • targetVersion

        TargetVersion targetVersion
        Defines the target Nessie version instance in case multiple Nessie versions are running, for rolling-upgrade tests.
        • TargetVersion.TESTED defines that the annotated element shall be provided for the currently tested and released Nessie version instance - aka rolling-upgrade-from version.
        • TargetVersion.CURRENT defines that the annotated element shall be provided for the in-tree Nessie version instance - aka rolling-upgrade-to version.
        Default:
        org.projectnessie.tools.compatibility.api.TargetVersion.TESTED