private static Enum<?> parseEnumValue(Field field, String valueString) {
        return Enum.valueOf((Class<Enum>) field.getType(), valueString);
    }
Convert the string value from the parameter string into the type the field requires.

@param field       field that should be set
@param valueString string representation of the value
@return parsed value of the field in the type the field requires
plc4j/spi/src/main/java/org/apache/plc4x/java/spi/configuration/ConfigurationFactory.java