Package org.apache.jackrabbit.oak.spi.state

Examples of org.apache.jackrabbit.oak.spi.state.ConflictType


    private String getConflictMessage() {
        StringBuilder sb = new StringBuilder("Commit failed due to unresolved conflicts in ");
        sb.append(parentAfter.getPath());
        sb.append(" = {");
        for (Tree conflict : parentAfter.getChild(NodeTypeConstants.REP_OURS).getChildren()) {
            ConflictType ct = ConflictType.fromName(conflict.getName());

            sb.append(ct.getName()).append(" = {");
            if (ct.effectsNode()) {
                sb.append(getChildNodeNamesAsString(conflict));
            } else {
                for (PropertyState ps : conflict.getProperties()) {
                    PropertyState ours = null, theirs = null;
                    switch (ct) {
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.spi.state.ConflictType

Copyright © 2018 www.massapicom. 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.