public interface RevisionContext
| Modifier and Type | Method and Description |
|---|---|
org.apache.jackrabbit.oak.plugins.document.UnmergedBranches |
getBranches() |
@NotNull org.apache.jackrabbit.oak.stats.Clock |
getClock() |
int |
getClusterId() |
@Nullable String |
getCommitValue(@NotNull Revision changeRevision,
@NotNull NodeDocument doc)
Retrieves the commit value for a given change.
|
@NotNull RevisionVector |
getHeadRevision() |
org.apache.jackrabbit.oak.plugins.document.UnsavedModifications |
getPendingModifications() |
@NotNull Revision |
newRevision() |
org.apache.jackrabbit.oak.plugins.document.UnmergedBranches getBranches()
org.apache.jackrabbit.oak.plugins.document.UnsavedModifications getPendingModifications()
int getClusterId()
@NotNull @NotNull RevisionVector getHeadRevision()
@NotNull @NotNull Revision newRevision()
@NotNull @NotNull org.apache.jackrabbit.oak.stats.Clock getClock()
@Nullable @Nullable String getCommitValue(@NotNull @NotNull Revision changeRevision, @NotNull @NotNull NodeDocument doc)
null : the change revision does not have an entry on
the commit root document and is not committed.changeRevision - the revision a change was made.doc - the document where the change was made.null if the change does not
have a commit value (yet).Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.