public String get ( Configs . Key key , String defaultVal ) { String keyVal = key != null ? key . name ( ) : "" ; String val = config != null ? config . getConfig ( name , key . name ( ) ) : null ; if ( val == null ) { String fullKey = GENERATOR_PROP_PREFIX + "." + name + "." + key ; val = Configs . getSystemPropertyWithMavenPropertyAsFallback ( properties , fullKey ) ; } return val != null ? val : defaultVal ; }
Get a config value with a default