private Severity getSeverity ( SeverityEnumType severityType , Severity defaultSeverity ) throws RuleException { return severityType == null ? defaultSeverity : Severity . fromValue ( severityType . value ( ) ) ; }
Get the severity .