public final class RevisionContextWrapper extends Object implements RevisionContext
clusterId.| Constructor and Description |
|---|
RevisionContextWrapper(RevisionContext context,
int clusterId) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jackrabbit.oak.plugins.document.UnmergedBranches |
getBranches() |
org.apache.jackrabbit.oak.stats.Clock |
getClock() |
int |
getClusterId() |
String |
getCommitValue(Revision revision,
NodeDocument nodeDocument) |
RevisionVector |
getHeadRevision() |
org.apache.jackrabbit.oak.plugins.document.UnsavedModifications |
getPendingModifications() |
Revision |
newRevision() |
public RevisionContextWrapper(RevisionContext context, int clusterId)
public org.apache.jackrabbit.oak.plugins.document.UnmergedBranches getBranches()
getBranches in interface RevisionContextpublic org.apache.jackrabbit.oak.plugins.document.UnsavedModifications getPendingModifications()
getPendingModifications in interface RevisionContextpublic int getClusterId()
getClusterId in interface RevisionContext@Nonnull public RevisionVector getHeadRevision()
getHeadRevision in interface RevisionContext@Nonnull public Revision newRevision()
newRevision in interface RevisionContext@Nonnull public org.apache.jackrabbit.oak.stats.Clock getClock()
getClock in interface RevisionContextpublic String getCommitValue(@Nonnull Revision revision, @Nonnull NodeDocument nodeDocument)
getCommitValue in interface RevisionContextCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.