Interface OnBranchBuilder<R extends OnBranchBuilder<R>>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default R branch​(org.projectnessie.model.Branch branch)
      R branchName​(@NotNull @NotNull @Pattern(regexp="^(?:[A-Za-z](?:(?:(?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?)|-$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") @Pattern(regexp="^(?:[A-Za-z](?:(?:(?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?)|-$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") java.lang.String branchName)  
      R hash​(@NotNull @NotNull @Pattern(regexp="^([0-9a-fA-F]{8,64})?((?:([~*^])([0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[.][0-9]{1,9}Z|([0-9]+)))*)$",message="Hash with optional timestamp with optional parent must consist of a valid commit hash (consist of the hex representation of 4-32 bytes), optionally followed by a numeric timestamp (milliseconds since epoch), optionally followed relative pointers: \'~\' + a number representing the n-th predecessor of a commit, \'^\' + a number representing the n-th parent within a commit or \'*\' + a number representing the created timestamp in milliseconds since epoch of a commit") @Pattern(regexp="^([0-9a-fA-F]{8,64})?((?:([~*^])([0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[.][0-9]{1,9}Z|([0-9]+)))*)$",message="Hash with optional timestamp with optional parent must consist of a valid commit hash (consist of the hex representation of 4-32 bytes), optionally followed by a numeric timestamp (milliseconds since epoch), optionally followed relative pointers: \'~\' + a number representing the n-th predecessor of a commit, \'^\' + a number representing the n-th parent within a commit or \'*\' + a number representing the created timestamp in milliseconds since epoch of a commit") java.lang.String hash)  
    • Method Detail

      • branchName

        R branchName​(@NotNull @NotNull @Pattern(regexp="^(?:[A-Za-z](?:(?:(?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?)|-$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") @Pattern(regexp="^(?:[A-Za-z](?:(?:(?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?)|-$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'")
                     @NotNull @NotNull @Pattern(regexp="^(?:[A-Za-z](?:(?:(?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?)|-$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") @Pattern(regexp="^(?:[A-Za-z](?:(?:(?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?)|-$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") java.lang.String branchName)
      • hash

        R hash​(@NotNull @NotNull @Pattern(regexp="^([0-9a-fA-F]{8,64})?((?:([~*^])([0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[.][0-9]{1,9}Z|([0-9]+)))*)$",message="Hash with optional timestamp with optional parent must consist of a valid commit hash (consist of the hex representation of 4-32 bytes), optionally followed by a numeric timestamp (milliseconds since epoch), optionally followed relative pointers: \'~\' + a number representing the n-th predecessor of a commit, \'^\' + a number representing the n-th parent within a commit or \'*\' + a number representing the created timestamp in milliseconds since epoch of a commit") @Pattern(regexp="^([0-9a-fA-F]{8,64})?((?:([~*^])([0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[.][0-9]{1,9}Z|([0-9]+)))*)$",message="Hash with optional timestamp with optional parent must consist of a valid commit hash (consist of the hex representation of 4-32 bytes), optionally followed by a numeric timestamp (milliseconds since epoch), optionally followed relative pointers: \'~\' + a number representing the n-th predecessor of a commit, \'^\' + a number representing the n-th parent within a commit or \'*\' + a number representing the created timestamp in milliseconds since epoch of a commit")
               @NotNull @NotNull @Pattern(regexp="^([0-9a-fA-F]{8,64})?((?:([~*^])([0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[.][0-9]{1,9}Z|([0-9]+)))*)$",message="Hash with optional timestamp with optional parent must consist of a valid commit hash (consist of the hex representation of 4-32 bytes), optionally followed by a numeric timestamp (milliseconds since epoch), optionally followed relative pointers: \'~\' + a number representing the n-th predecessor of a commit, \'^\' + a number representing the n-th parent within a commit or \'*\' + a number representing the created timestamp in milliseconds since epoch of a commit") @Pattern(regexp="^([0-9a-fA-F]{8,64})?((?:([~*^])([0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[.][0-9]{1,9}Z|([0-9]+)))*)$",message="Hash with optional timestamp with optional parent must consist of a valid commit hash (consist of the hex representation of 4-32 bytes), optionally followed by a numeric timestamp (milliseconds since epoch), optionally followed relative pointers: \'~\' + a number representing the n-th predecessor of a commit, \'^\' + a number representing the n-th parent within a commit or \'*\' + a number representing the created timestamp in milliseconds since epoch of a commit") java.lang.String hash)