class ConfigProperty {

    public double asDouble() {
        checkState(type == Type.FLOAT || type == Type.DOUBLE, "Value is not a float or double");
        return Double.parseDouble(value);
    }

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

}