Package org.projectnessie.model
Interface Reference
-
- All Superinterfaces:
Base
- All Known Implementing Classes:
Hash,ImmutableBranch,ImmutableHash,ImmutableTag
public interface Reference extends Base
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidcheckHash()Validation rule usingValidation.validateHash(String)(String)}.StringgetHash()backend system id.StringgetName()Human readable reference name.
-
-
-
Method Detail
-
getName
String getName()
Human readable reference name.
-
getHash
@Nullable String getHash()
backend system id. Usually the 32-byte hash of the commit this reference points to.
-
checkHash
@Check default void checkHash()
Validation rule usingValidation.validateHash(String)(String)}.
-
-