Package org.projectnessie.model
Interface Branch
-
- All Known Implementing Classes:
ImmutableBranch
@Immutable(prehash=true) public interface Branch extends Reference
Api representation of an Nessie Tag/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)
-
-
-
Method Detail
-
checkName
@Check default void checkName()
Validation rule usingValidation.validateReferenceName(String).
-
builder
static ImmutableBranch.Builder builder()
-
-