Package org.projectnessie.versioned
Interface GetNamedRefsParams
@Immutable
public interface GetNamedRefsParams
Parameters that control the values that shall be returned via for each
ReferenceInfo via
functionality to retrieve the named references.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic org.projectnessie.versioned.ImmutableGetNamedRefsParams.Builderbuilder()Named reference to use as the base for the computation ofReferenceInfo.getAheadBehind().Whether to retrieve branches, defaults totrue.Whether to retrieve tags, defaults totrue.
-
Field Details
-
DEFAULT
-
-
Method Details
-
builder
static org.projectnessie.versioned.ImmutableGetNamedRefsParams.Builder builder() -
getBaseReference
Named reference to use as the base for the computation ofReferenceInfo.getAheadBehind(). If this parameter is notnull, the given reference must exist.- Returns:
- name of the base reference. Can be
null, if not needed.
-
getBranchRetrieveOptions
Whether to retrieve branches, defaults totrue. -
getTagRetrieveOptions
Whether to retrieve tags, defaults totrue.
-