Package org.projectnessie.events.service
Interface VersionStoreEvent
@Immutable
public interface VersionStoreEvent
An internal event triggered when a result produced by the version store.
This event is meant to capture the Result emitted by the store, correlated with the
user that initiated the change, and the id of the repository affected by the change.
This event is produced by a ResultCollector; it is not meant to be delivered as is to
subscribers, but rather, to be forwarded to EventService.onVersionStoreEvent(VersionStoreEvent), then converted to one or many API events, which are in turn delivered to subscribers.
-
Method Summary
-
Method Details
-
getResult
org.projectnessie.versioned.Result getResult()TheResultproduced by the version store. -
getRepositoryId
String getRepositoryId()The repository id affected by the change. Never null, but may be an empty string. -
getUser
The user principal that initiated the change. May be empty if authentication is disabled.
-