Package org.rhq.enterprise.gui.operation.definition.group

Examples of org.rhq.enterprise.gui.operation.definition.group.ResourceGroupOperationDefinitionUIBean


    }

    @Override
    public void scheduleOperation(Subject subject, String operationName, Configuration parameters,
        SimpleTrigger simpleTrigger, String description) throws Exception {
        ResourceGroupOperationDefinitionUIBean bean = FacesContextUtility
            .getBean(ResourceGroupOperationDefinitionUIBean.class);

        scheduleOperation(subject, operationName, getResourceIds(), bean.isHaltOnFailure(), parameters, simpleTrigger,
            description);
    }
View Full Code Here


        manager.scheduleGroupOperation(subject, group.getId(), passedResourceIds, haltOnFailure, operationName,
            parameters, simpleTrigger, description);
    }

    public int[] getResourceIds() {
        ResourceGroupOperationDefinitionUIBean operationDefinitionUIBean = FacesContextUtility
            .getBean(ResourceGroupOperationDefinitionUIBean.class);
        if (operationDefinitionUIBean.isConcurrent()) {
            return null;
        }

        List<IntegerOptionItem> orderedNameItems = operationDefinitionUIBean.getResourceNameItems();

        int i = 0;
        int[] resourceIds = new int[orderedNameItems.size()];
        for (IntegerOptionItem nameItem : orderedNameItems) {
            resourceIds[i++] = nameItem.getId();
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.gui.operation.definition.group.ResourceGroupOperationDefinitionUIBean

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.