Interface GetNamedRefsParams.RetrieveOptions

  • Enclosing interface:
    GetNamedRefsParams

    @Immutable
    public static interface GetNamedRefsParams.RetrieveOptions
    • Field Detail

      • BASE_REFERENCE_RELATED_AND_COMMIT_META

        static final GetNamedRefsParams.RetrieveOptions BASE_REFERENCE_RELATED_AND_COMMIT_META
        Constant to retrieve the HEAD commit hash, the commit-meta of the HEAD commit, the common-ancestor to the base reference and the commits ahead and behind relative to the base reference.
    • Method Detail

      • builder

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

        @Default
        default boolean isRetrieve()
        Whether to retrieve the reference information at all, defaults to true.
      • 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.