Package org.projectnessie.model
Interface Tag
-
- All Known Implementing Classes:
ImmutableTag
@Immutable public interface Tag extends Reference
API representation of a Nessie Tag. This object is akin to a Ref in Git terminology.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.projectnessie.model.Reference
Reference.ReferenceType
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ImmutableTag.Builderbuilder()default voidcheckName()Validation rule usingValidation.validateReferenceName(String).StringgetHash()backend system id.default Reference.ReferenceTypegetType()static Tagof(String name, String hash)-
Methods inherited from interface org.projectnessie.model.Reference
checkHash, getMetadata, getName
-
-
-
-
Method Detail
-
getHash
@Nullable String getHash()
Description copied from interface:Referencebackend system id. Usually the 32-byte hash of the commit this reference points to.
-
checkName
@Check default void checkName()
Validation rule usingValidation.validateReferenceName(String).
-
getType
default Reference.ReferenceType getType()
-
builder
static ImmutableTag.Builder builder()
-
-