/** * Define a sub-setting of this group. The setting passed in should not worry about * the group prefix or key. If you want config like `dbms.mygroup.0.foo=bar`, you should * pass in a setting with the key `foo` here. */ public <T> Setting<T> scope( Setting<T> setting ) { setting.withScope( key -> groupName + "." + key ); return setting; } }
@Override public void withScope( Function<String,String> scopingRule ) { newSetting.withScope( scopingRule ); }
@Override public void withScope( Function<String,String> scopingRule ) { s.withScope( scopingRule ); }
@Override public void withScope( Function<String,String> scopingRule ) { super.withScope( scopingRule ); listenAddressSetting.withScope( scopingRule ); }
@Override public void withScope( Function<String,String> scopingRule ) { s.withScope( scopingRule ); }
@Override public void withScope( Function<String,String> scopingRule ) { newSetting.withScope( scopingRule ); }
/** * Define a sub-setting of this group. The setting passed in should not worry about * the group prefix or key. If you want config like `dbms.mygroup.0.foo=bar`, you should * pass in a setting with the key `foo` here. */ public <T> Setting<T> scope( Setting<T> setting ) { setting.withScope( key -> groupName + "." + key ); return setting; } }
@Override public void withScope( Function<String,String> scopingRule ) { super.withScope( scopingRule ); listenAddressSetting.withScope( scopingRule ); }