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

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


        if (resource != null) {
            for (MeasurementDefinition definition : dataDefinitions) {
                MeasurementSchedule schedule = scheduleManager.getSchedule(subject, resource.getId(), definition
                    .getId(), false);

                RelatedOptionBean rob = new RelatedOptionBean(definition.getName(), String.valueOf(definition.getId()),
                    getBaselineList(schedule));
                baselines.add(rob);

                setDisabledName(schedule, definition);
            }

            for (MeasurementDefinition definition : traitDefinitions) {
                MeasurementSchedule schedule = scheduleManager.getSchedule(subject, resource.getId(), definition
                    .getId(), false);
                setDisabledName(schedule, definition);
            }
        } else {
            List<LabelValueBean> defaultBaselineLabels = getBaselineList(null);
            for (MeasurementDefinition definition : dataDefinitions) {
                RelatedOptionBean rob = new RelatedOptionBean(definition.getName(), String.valueOf(definition.getId()),
                    defaultBaselineLabels);
                baselines.add(rob);
            }
        }
View Full Code Here

TOP

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

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.