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