Package org.rhq.core.domain.resource

Examples of org.rhq.core.domain.resource.ResourceCategory


    private void generateServersReport() throws Exception {
        Subject user = getOverlord();
        ResourceManagerLocal resourceManager = LookupUtil.getResourceManager();

        ResourceCategory category = ResourceCategory.SERVER;
        int committed = resourceManager.getResourceCountByCategory(user, category, InventoryStatus.COMMITTED);
        int ignored = resourceManager.getResourceCountByCategory(user, category, InventoryStatus.IGNORED);
        int deleted = resourceManager.getResourceCountByCategory(user, category, InventoryStatus.DELETED);
        int uninventoried = resourceManager.getResourceCountByCategory(user, category, InventoryStatus.UNINVENTORIED);
View Full Code Here


    private void generateServicesReport() throws Exception {
        Subject user = getOverlord();
        ResourceManagerLocal resourceManager = LookupUtil.getResourceManager();

        ResourceCategory category = ResourceCategory.SERVICE;
        int committed = resourceManager.getResourceCountByCategory(user, category, InventoryStatus.COMMITTED);
        int ignored = resourceManager.getResourceCountByCategory(user, category, InventoryStatus.IGNORED);
        int deleted = resourceManager.getResourceCountByCategory(user, category, InventoryStatus.DELETED);
        int uninventoried = resourceManager.getResourceCountByCategory(user, category, InventoryStatus.UNINVENTORIED);
View Full Code Here

        TitleBar titleBar = new TitleBar(MSG.view_bundle_deploy_selectARow());
        table.setTitleBar(titleBar);

        // resource icon field
        ResourceCategory resourceCategory = ResourceCategory.PLATFORM;
        try {
            resourceCategory = deployment.getDestination().getGroup().getResourceType().getCategory();
        } catch (Exception skip) { // BZ 1027732 in case a group somehow got empty or switched to a mixed group, avoid NPE
        }
        ListGridField resourceIcon = new ListGridField("resourceAvailability");
View Full Code Here

TOP

Related Classes of org.rhq.core.domain.resource.ResourceCategory

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.