|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationConfigProvider
Provider of a ApplicationConfig.
ApplicationConfig should
implements this and add the provider available via the
ServiceLoader mecanism.
Using such provider offers a nice way to find out what options can be loaded
in a application. It also offers a simply way to generate application
config report for documentation.
| Method Summary | |
|---|---|
ApplicationConfig.ActionDef[] |
getActions()
Returns all actions offered by the configuration. |
String |
getDescription(Locale locale)
Returns the localized description of the configuration. |
String |
getName()
Returns the name of the provided application config. |
ApplicationConfig.OptionDef[] |
getOptions()
Returns all options offered by the configuration. |
| Method Detail |
|---|
String getName()
String getDescription(Locale locale)
locale - locale used to render description
ApplicationConfig.OptionDef[] getOptions()
ApplicationConfig.OptionDefApplicationConfig.ActionDef[] getActions()
ApplicationConfig.ActionDef
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||