Package org.rhq.enterprise.gui.legacy.beans

Examples of org.rhq.enterprise.gui.legacy.beans.OptionItem


            // as of right now, you can only trigger no-arg operations when an alert fires
            if (definition.getParametersConfigurationDefinition() != null) {
                continue;
            }

            OptionItem next = new OptionItem(definition.getDisplayName(), String.valueOf(definition.getId()));
            operations.add(next);
        }

        return operations;
    }
View Full Code Here


        List<OptionItem> controlActions = new ArrayList<OptionItem>();
        OperationManagerLocal operationManager = LookupUtil.getOperationManager();
        // do not need to eagerly load the definitions because only name and displayName are needed
        for (OperationDefinition action : operationManager.findSupportedResourceTypeOperations(subject, type.getId(),
            false)) {
            OptionItem actionItem = new OptionItem(action.getDisplayName(), action.getName());
            controlActions.add(actionItem);
        }

        defForm.setControlActions(controlActions);
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.gui.legacy.beans.OptionItem

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.