protected static String getProperty()

in boot/src/main/java/org/apache/karaf/minho/boot/config/Config.java [55:67]


    protected static String getProperty(String key, Map<String, String> properties, String defaultValue) {
        String envKey = envKeyPattern.matcher(key).replaceAll("_").toUpperCase();
        if (System.getenv(envKey) != null) {
            return System.getenv(envKey);
        }
        if (System.getProperty(key) != null) {
            return System.getProperty(key);
        }
        if (properties.get(key) != null) {
            return properties.get(key);
        }
        return defaultValue;
    }