Package org.rhq.core.domain.event

Examples of org.rhq.core.domain.event.EventSeverity


     * @param severityString
     *
     * @return enum
     */
    protected EventSeverity getSeverity(String severityString) {
        EventSeverity severity = EventSeverity.INFO; // if we don't know it, flag it as INFO
        if (severityString != null) {
            severityString = severityString.toUpperCase();
            if (severityString.startsWith("EMERG") || severityString.startsWith("CRIT")) {
                severity = EventSeverity.FATAL;
            } else if (severityString.startsWith("ERR")) {
View Full Code Here

TOP

Related Classes of org.rhq.core.domain.event.EventSeverity

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.