class ConfigProperty {

    public float asFloat() {
        checkState(type == Type.FLOAT, "Value is not a float");
        return Float.parseFloat(value);
    }

    private  ConfigProperty(String name, Type type, String description,
                           String defaultValue, String value, boolean isSet);

}