Package org.rhq.core.domain.resource.composite

Examples of org.rhq.core.domain.resource.composite.ResourceFacets


            type = LookupUtil.getResourceGroupManager().getResourceGroup(overlord, defForm.getGroupId())
                .getResourceType();
        } else {
            throw new IllegalArgumentException("Unsupported context: " + formContext);
        }
        ResourceFacets facets = LookupUtil.getResourceTypeManager().getResourceFacets(type.getId());
        request.setAttribute("showEvents", facets.isEvent());
        if (facets.isEvent() && triggerNotSet)
            defForm.getCondition(0).setTrigger("onEvent");

        request.setAttribute("showOperations", defForm.getControlActions().size() > 0);
        if (defForm.getControlActions().size() > 0 && triggerNotSet)
            defForm.getCondition(0).setTrigger("onOperation");
View Full Code Here

TOP

Related Classes of org.rhq.core.domain.resource.composite.ResourceFacets

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.