More flexible API to query class-related config resource.
Description
ResourcesConfigurationManager has an API (method loadConfigurationForClass() to query a configuration for a class resource e.g. FooBar, but it assumes that the name of the config file will have a -config extension, e.g. FooBar-config.properties. Make the API more flexible to allow the designation of a custom suffix (e.g. FooBar-build.properties for and ) or no suffix at all.
ResourcesConfigurationManager
has an API (methodloadConfigurationForClass()
to query a configuration for a class resource e.g.FooBar
, but it assumes that the name of the config file will have a-config
extension, e.g.FooBar-config.properties
. Make the API more flexible to allow the designation of a custom suffix (e.g.FooBar-build.properties
for and ) or no suffix at all.