Package org.rhq.plugins.augeas.helper

Examples of org.rhq.plugins.augeas.helper.AugeasNode


            int idx = propMap.getParentList().getList().indexOf(propMap);
            int matchesCnt = getAugeas().match(parentNode.getPath() + AugeasNode.SEPARATOR + "entry").size();
            boolean useIndex = idx != 0 || matchesCnt > 1;
           
            if (idx < matchesCnt) {
                return new AugeasNode(parentNode, propMap.getName() + (useIndex ? "[" + (idx + 1) + "]" : ""));
            } else {
                return null;
            }
        } else {
            return super.getExistingChildNodeForListMemberPropertyMap(parentNode, propDefList, propMap);
View Full Code Here

TOP

Related Classes of org.rhq.plugins.augeas.helper.AugeasNode

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.