Example #1
0
 @Override
 public BuildType fromShownString(final String s) {
   for (BuildType l : BuildType.values()) {
     if (l.getShownName().equals(s)) {
       return l;
     }
   }
   return null;
 }
Example #2
0
 @Override
 public String toShownString(final BuildType o) {
   return o.getShownName();
 }