Examples of ConfigurationSetMember


Examples of org.rhq.core.gui.configuration.propset.ConfigurationSetMember

        long startTime = System.currentTimeMillis();
        List<ConfigurationSetMember> configurationSetMembers = new ArrayList<ConfigurationSetMember>(configs.size());
        for (Integer resourceId : configs.keySet()) {
            String label = GroupResourceConfigurationUtility.createResourceHierarchyLabel(resourceId);
            Configuration configuration = configs.get(resourceId);
            ConfigurationSetMember configurationSetMember = new ConfigurationSetMember(label, configuration);
            configurationSetMembers.add(configurationSetMember);
        }
        ConfigurationDefinition definition = getConfigurationDefinition(subject, group);
        ConfigurationSet configurationSet = new ConfigurationSet(definition, configurationSetMembers);
        long elapsedTime = System.currentTimeMillis() - startTime;
View Full Code Here

Examples of org.rhq.core.gui.configuration.propset.ConfigurationSetMember

        Map<Integer, Configuration> configs) {
        List<ConfigurationSetMember> configurationSetMembers = new ArrayList<ConfigurationSetMember>(configs.size());
        for (Integer resourceId : configs.keySet()) {
            String label = GroupPluginConfigurationUtility.createResourceHierarchyLabel(resourceId);
            Configuration configuration = configs.get(resourceId);
            ConfigurationSetMember configurationSetMember = new ConfigurationSetMember(label, configuration);
            configurationSetMembers.add(configurationSetMember);
        }
        ConfigurationDefinition definition = getConfigurationDefinition(subject, group);
        ConfigurationSet configurationSet = new ConfigurationSet(definition, configurationSetMembers);
        return configurationSet;
View Full Code Here

Examples of org.rhq.core.gui.configuration.propset.ConfigurationSetMember

            configuration.getSimple("String1").setStringValue(UUID.randomUUID().toString());
            configuration.getSimple("Integer").setStringValue(String.valueOf(i + 1));
            configuration.getSimple("Boolean").setStringValue(String.valueOf(i % 2 == 0));
            if (i == 0)
                configuration.getMap("OpenMapOfSimples").put(new PropertySimple("PROCESSOR_CORES", "4"));
            ConfigurationSetMember memberInfo =
                    new ConfigurationSetMember(LABELS[GROUP_SIZE % LABELS.length], configuration);
            members.add(memberInfo);
        }
        this.configurationSet = new ConfigurationSet(this.configurationDefinition, members);
        // Unwrap the Hibernate proxy objects, which Facelets appears not to be able to handle.
        this.properties = new ArrayList<Property>(this.configuration.getProperties());
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.