Interface GetReferenceBuilder


  • public interface GetReferenceBuilder
    Request builder for "get reference".
    Since:
    NessieApiV1
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      GetReferenceBuilder fetchAdditionalInfo​(boolean fetchAdditionalInfo)
      Will fetch additional metadata about Branch instances, such as number of commits ahead/behind or the common ancestor in relation to the default branch, and the commit metadata for the HEAD commit.
      Reference get()  
      GetReferenceBuilder refName​(@NotNull @Pattern(regexp="^(([0-9a-fA-F]{16,64})|([A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9._-])?))$",message="Reference must be either a reference name or hash, start with a letter, followed by letters, digits, a ./_- character, not end with a slash, not contain .. or consist of the hex representation of 8-32 bytes") String refName)  
    • Method Detail

      • refName

        GetReferenceBuilder refName​(@NotNull @Pattern(regexp="^(([0-9a-fA-F]{16,64})|([A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9._-])?))$",message="Reference must be either a reference name or hash, start with a letter, followed by letters, digits, a ./_- character, not end with a slash, not contain .. or consist of the hex representation of 8-32 bytes")
                                    @NotNull @Pattern(regexp="^(([0-9a-fA-F]{16,64})|([A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9._-])?))$",message="Reference must be either a reference name or hash, start with a letter, followed by letters, digits, a ./_- character, not end with a slash, not contain .. or consist of the hex representation of 8-32 bytes") String refName)
      • fetchAdditionalInfo

        GetReferenceBuilder fetchAdditionalInfo​(boolean fetchAdditionalInfo)
        Will fetch additional metadata about Branch instances, such as number of commits ahead/behind or the common ancestor in relation to the default branch, and the commit metadata for the HEAD commit.
        Returns:
        GetReferenceBuilder