Package org.projectnessie.model
Interface Branch
-
- All Known Implementing Classes:
ImmutableBranch
@Immutable public interface Branch extends Reference
API representation of a Nessie Branch. This object is akin to a Ref in Git terminology.
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ImmutableBranch.Builderbuilder()default voidcheckName()Validation rule usingValidation.validateReferenceName(String).static Branchof(String name, String hash)-
Methods inherited from interface org.projectnessie.model.Reference
checkHash, getHash, getMetadata, getName
-
-
-
-
Method Detail
-
checkName
@Check default void checkName()
Validation rule usingValidation.validateReferenceName(String).
-
builder
static ImmutableBranch.Builder builder()
-
-