protected static int parseInt(Map<String, String> optionsMap, String key, int defaultValue) {
        if (optionsMap.containsKey(key)) {
            return Integer.parseInt(optionsMap.get(key));
        }
        return defaultValue;
    }
Called to parse a map into a set of specific options.
@param options the option map
common/config/src/main/java/io/apiman/common/config/options/AbstractOptions.java