Package org.rhq.enterprise.server.alert

Examples of org.rhq.enterprise.server.alert.AlertManagerLocal.willDefinitionBeDisabled()


            Locale currentLocale = Locale.getDefault();
            Locale.setDefault(Locale.ENGLISH);
            b.append(alertManager.prettyPrintAlertConditions(alert, false));
            Locale.setDefault(currentLocale);

            boolean willBeDisabled = alertManager.willDefinitionBeDisabled(alert);

            if (willBeDisabled)
                b.append(" The alert definition will now be disabled. \n\n");

            //            b.append(" Please press ");
View Full Code Here


        case ALERT_FIRE_TIME:
            return new Date(alert.getCtime()).toString(); // TODO use a specific impl here?
        case ALERT_WILL_RECOVER:
            return String.valueOf(alert.getAlertDefinition().getWillRecover());
        case ALERT_WILL_DISABLE:
            return String.valueOf(mgr.willDefinitionBeDisabled(alert));
        case ALERT_DEF_NAME:
            return alert.getAlertDefinition().getName();
        case ALERT_DEF_DESC:
            return alert.getAlertDefinition().getDescription();
        case ALERT_DEF_PRIO:
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.