Interface GetNamedRefsParams.RetrieveOptions

Enclosing interface:
GetNamedRefsParams

@Immutable public static interface GetNamedRefsParams.RetrieveOptions
  • Field Details

    • OMIT

      Constant to not retrieve any information (omit tags or branches).
    • BARE

      Constant to retrieve only the HEAD commit hash.
    • COMMIT_META

      static final GetNamedRefsParams.RetrieveOptions COMMIT_META
      Constant to retrieve the HEAD commit hash plus the commit-meta of the HEAD commit.
  • Method Details

    • builder

      static org.projectnessie.versioned.ImmutableRetrieveOptions.Builder builder()
    • isRetrieve

      @Default default boolean isRetrieve()
      Whether to retrieve the reference information at all, defaults to true.
    • isComputeAheadBehind

      @Default default boolean isComputeAheadBehind()
      Whether to compute ReferenceInfo.getAheadBehind(), requires a non-null GetNamedRefsParams.getBaseReference(), defaults to false.
    • isComputeCommonAncestor

      @Default default boolean isComputeCommonAncestor()
      Whether to identify the common ancestor on the default branch, defaults to false.
    • isRetrieveCommitMetaForHead

      @Default default boolean isRetrieveCommitMetaForHead()
      Whether to retrieve the commit-meta information of each reference's HEAD commit in ReferenceInfo.getHeadCommitMeta(), defaults to false.