Package org.rhq.enterprise.server.resource.group.definition

Examples of org.rhq.enterprise.server.resource.group.definition.GroupDefinitionExpressionBuilderManagerLocal


        String resourceType = selectedResourceType;
        String plugin = selectedPlugin;
        if (resourceType != null && plugin != null) {
            int resourceTypeId = getResourceTypeId(resourceType, plugin);

            GroupDefinitionExpressionBuilderManagerLocal expressionBuilderManager = null;
            expressionBuilderManager = LookupUtil.getGroupDefinitionExpressionBuilderManager();

            if (type == null) {
                throw new IllegalArgumentException("No property support for '" + selectedPropertyType + " yet.");
            } else if (type == PropertyType.TRAIT) {
                propertyNames = expressionBuilderManager.getTraitPropertyNames(resourceTypeId);
            } else if (type == PropertyType.PLUGIN_CONFIGURATION) {
                propertyNames = expressionBuilderManager.getPluginConfigurationPropertyNames(resourceTypeId);
            } else if (type == PropertyType.RESOURCE_CONFIGURATION) {
                propertyNames = expressionBuilderManager.getResourceConfigurationPropertyNames(resourceTypeId);
            } else if (type == PropertyType.RESOURCE) {
                propertyNames = Arrays.asList(new String[] { "id", "name", "version", "availability" });
            }

            if (propertyNames.size() == 0) {
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.server.resource.group.definition.GroupDefinitionExpressionBuilderManagerLocal

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.