public static ValidationStatus getInfoMsgLevel ( final String msg ) { if ( msg . startsWith ( "ERROR" ) ) { return ValidationStatus . ERROR ; } if ( msg . startsWith ( "WARN" ) ) { return ValidationStatus . WARN ; } return ValidationStatus . PASS ; }
Return the severity level this information message is associated with .