code: public <T extends Enum<T>> T getEnum(String property, Class<T> type) {
      return Enum.valueOf(type, getString(property));
    }
docs: Reads an enum property.
  
  @param property The property name.
  @param type The enum type.
  @param <T> The enum type.
  @return The property value.
  @throws ConfigurationException if the property is not present