public static ConfigParams resolve ( ConfigParams config , boolean configAsDefault ) { ConfigParams options = config . getSection ( "options" ) ; if ( options . size ( ) == 0 && configAsDefault ) options = config ; return options ; }
Resolves an options configuration section from component configuration parameters .