Example #1
0
 public RuleDto setSeverity(@Nullable String severity) {
   return this.setSeverity(
       severity != null ? SeverityUtil.getOrdinalFromSeverity(severity) : null);
 }
Example #2
0
 @CheckForNull
 public String getSeverityString() {
   return severity != null ? SeverityUtil.getSeverityFromOrdinal(severity) : null;
 }