code: public static <T extends Enum<T>> T getEnum(PropertyKey key, Class<T> enumType) {
      return sConf.getEnum(key, enumType);
    }
docs: Gets the value for the given key as an enum value.
  
  @param key the key to get the value for
  @param enumType the type of the enum
  @param <T> the type of the enum
  @return the value for the given key as an enum value