Package org.apache.jackrabbit.oak.spi.commit

Examples of org.apache.jackrabbit.oak.spi.commit.CommitHook.processCommit()


    @Override
    public NodeState merge() throws CommitFailedException {
        NodeState oldRoot = base;
        CommitHook commitHook = store.getHook();
        NodeState toCommit = commitHook.processCommit(store, oldRoot, currentRoot);
        setRoot(toCommit);

        try {
            if (branchRevision == null) {
                // Nothing was written to this branch: return initial node state.
View Full Code Here


    @Override
    public NodeState merge() throws CommitFailedException {
        checkNotMerged();
        CommitHook commitHook = store.getHook();
        NodeState toCommit = commitHook.processCommit(base, head);
        NodeState oldRoot = head;
        setRoot(toCommit);

        try {
            if (headRevision == null) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.