mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/utils/push/PushGrowlMessage.java
private String convertSeverity(final FacesMessage.Severity severity)
    {
        final String answer; 
        
        if (severity.equals(FacesMessage.SEVERITY_WARN))
        {
            answer = "warn";
        }
        else if (severity.equals(FacesMessage.SEVERITY_ERROR))
        {
            answer = "error";
        }
        else if (severity.equals(FacesMessage.SEVERITY_FATAL))
        {
            answer = "fatal";
        }
        else
        {
            answer = "info";
        }
        
        return answer;
    }
/**
     * Converts a faces message severity and converts it to a string representation.
     * @param severity
     *  the severity that the message should be set to.
     * @return
     *  the string representation of a FacesMessage severity
     */
Converts a faces message severity and converts it to a string representation.
@param severity
the severity that the message should be set to.
@return
the string representation of a FacesMessage severity
Converts a faces message severity and converts it to a string representation . @param severity the severity that the message should be set to . @return the string representation of a FacesMessage severity
private String convertSeverity(final FacesMessage.Severity severity)
    {
        final String answer; 
        if (severity.equals(FacesMessage.SEVERITY_WARN))
        {
            answer = "warn";
        }
        else if (severity.equals(FacesMessage.SEVERITY_ERROR))
        {
            answer = "error";
        }
        else if (severity.equals(FacesMessage.SEVERITY_FATAL))
        {
            answer = "fatal";
        }
        else
        {
            answer = "info";
        }
        return answer;
    }
private String convertSeverity ( final FacesMessage . Severity severity ) { final String answer ; if ( severity . equals ( FacesMessage . SEVERITY_WARN ) ) { answer = "warn" ; } else if ( severity . equals ( FacesMessage . SEVERITY_ERROR ) ) { answer = "error" ; } else if ( severity . equals ( FacesMessage . SEVERITY_FATAL ) ) { answer = "fatal" ; } else { answer = "info" ; } return answer ; }
Converts a faces message severity and converts it to a string representation.
Converts a faces message severity and converts it to a string representation .