class ConfigProperty {

    public int asInteger() {
        checkState(type == Type.INTEGER, "Value is not an integer");
        return Integer.parseInt(value);
    }

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

}