Package org.projectnessie.client.builder
Class BaseGetReferenceBuilder
java.lang.Object
org.projectnessie.client.builder.BaseGetReferenceBuilder
- All Implemented Interfaces:
GetReferenceBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfetch(org.projectnessie.model.FetchOption fetchOption) Will fetch additional metadata aboutBranchinstances, 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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.projectnessie.client.api.GetReferenceBuilder
fetch, get
-
Field Details
-
refName
-
fetchOption
protected org.projectnessie.model.FetchOption fetchOption
-
-
Constructor Details
-
BaseGetReferenceBuilder
public BaseGetReferenceBuilder()
-
-
Method Details
-
refName
- Specified by:
refNamein interfaceGetReferenceBuilder
-
fetch
Description copied from interface:GetReferenceBuilderWill fetch additional metadata aboutBranchinstances, 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.- Specified by:
fetchin interfaceGetReferenceBuilder- Parameters:
fetchOption- The option indicating how much info to fetch- Returns:
GetReferenceBuilder
-