public App addSetting ( String name , Object value ) { if ( ! StringUtils . isBlank ( name ) && value != null ) { getSettings ( ) . put ( name , value ) ; for ( AppSettingAddedListener listener : ADD_SETTING_LISTENERS ) { listener . onSettingAdded ( this , name , value ) ; logger . debug ( "Executed {}.onSettingAdded()." , listener . getClass ( ) . getName ( ) ) ; } } return this ; }
Adds a new setting to the map .