Interface ReferenceEvent
-
- All Superinterfaces:
AdapterEvent
- All Known Subinterfaces:
ReferenceAssignedEvent,ReferenceCreatedEvent,ReferenceDeletedEvent
public interface ReferenceEvent extends AdapterEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceReferenceEvent.Builder<B extends ReferenceEvent.Builder<B,E>,E extends ReferenceEvent>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.projectnessie.versioned.HashgetCurrentHash()Hash of the reference, specific meaning for each event type.org.projectnessie.versioned.NamedRefgetRef()-
Methods inherited from interface org.projectnessie.versioned.persist.adapter.events.AdapterEvent
getEventTimeMicros, getOperationType
-
-
-
-
Method Detail
-
getRef
org.projectnessie.versioned.NamedRef getRef()
-
getCurrentHash
org.projectnessie.versioned.Hash getCurrentHash()
Hash of the reference, specific meaning for each event type.- For
ReferenceCreatedEvent: the current/initial commit ID of the reference when it was created - For
ReferenceDeletedEvent: the current commit ID of the reference when it was deleted - For
ReferenceAssignedEvent): the new commit ID of the named reference
- For
-
-