Examples of UndefineAttribute


Examples of org.rhq.modules.plugins.jbossas7.json.UndefineAttribute

        @Override
        public Operation getBatchOperation() {
            CompositeOperation compositeOperation = new CompositeOperation();
            if (hasDiscoveryGroupName()) {
                compositeOperation.addStep(new UndefineAttribute(address, CONNECTOR_ATTRIBUTE));
                compositeOperation.addStep(new WriteAttribute(address, DISCOVERY_GROUP_NAME, configuration
                    .getSimpleValue(DISCOVERY_GROUP_NAME)));
            } else {
                compositeOperation.addStep(new UndefineAttribute(address, DISCOVERY_GROUP_NAME));
                compositeOperation.addStep(new WriteAttribute(address, CONNECTOR_ATTRIBUTE, Collections.singletonMap(
                    configuration.getMap(CONNECTOR_PROPERTY).getSimpleValue("name:0", EMPTY_STRING), null)));
            }
            return compositeOperation;
        }
View Full Code Here

Examples of org.rhq.modules.plugins.jbossas7.json.UndefineAttribute

        @Override
        public Operation getBatchOperation() {
            CompositeOperation compositeOperation = new CompositeOperation();
            if (hasDiscoveryGroupName()) {
                compositeOperation.addStep(new UndefineAttribute(address, STATIC_CONNECTORS_ATTRIBUTE));
                compositeOperation.addStep(new WriteAttribute(address, DISCOVERY_GROUP_NAME, configuration
                    .getSimpleValue(DISCOVERY_GROUP_NAME)));
            } else {
                compositeOperation.addStep(new UndefineAttribute(address, DISCOVERY_GROUP_NAME));
                List<Property> propertyList = configuration.getList(STATIC_CONNECTORS_PROPERTY).getList();
                List<String> staticConnectors = new ArrayList<String>(propertyList.size());
                for (Property property : propertyList) {
                    if (property instanceof PropertySimple) {
                        PropertySimple propertySimple = (PropertySimple) property;
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.