Example #1
0
 /** @return transforms and returns the data fields as a level of alert */
 public Metric.Level getDataAsLevel() {
   if (data != null) {
     return Metric.Level.valueOf(data);
   }
   return null;
 }