class ConfigProperty {

    public long asLong() {
        checkState(type == Type.INTEGER || type == Type.LONG, "Value is not a long or integer");
        return Long.parseLong(value);
    }

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

}