Package org.bgerp.app.cfg
Class Config
java.lang.Object
org.bgerp.app.cfg.Config
- Direct Known Subclasses:
BoardConfig
,BoardsConfig
,CalendarConfig
,CallboardConfig
,CallboardPlanConfig
,CallboardTabelConfig
,CategoryConfig
,Config
,Config
,Config
,Config
,Config
,Config
,Config
,Config
,Config
,Config
,Config
,Config
,Config
,Config
,Config
,Config
,Config
,ContractTypesConfig
,DayTypeConfig
,DefaultMarkedProcessor.Config
,GMS
,IsolationConfig
,LdapAuthConfig
,ListParamConfig
,MessageAction.Config
,MessagePossibleProcessConfig
,MessageTypeConfig
,NumberProvider
,PaidInvoiceConfig
,PositionProvider
,PrintQueueConfig
,ProcessAction.Config
,ProcessCardConfig
,ProcessCreateInConfig
,ProcessCreateLinkConfig
,ProcessCreateLinkItem
,ProcessDescriptionConfig
,ProcessLinkCategory
,ProcessLinkCategoryConfig
,ProcessLinkModesConfig
,ProcessNotificationConfig
,ProcessPriorityConfig
,ProcessQueueAction.Config
,ProcessTimeSetConfig
,ProcessTitleConfig
,ProcessTypeConfig
,ProcessTypeConfig
,ProfileAction.Config
,RecipientsConfig
,RegexpCheckerConfig
,RowExpressionConfig
,SavedFiltersConfig
,SavedPanelConfig
,Sender
,ShiftConfig
,ShortcutConfig
,TagConfig
,Task
,TasksConfig
,TemplateConfig
,UserStateSender.Config
Configuration, created on demand in
ConfigMap.getConfig(Class)
and cached before it has changed.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The exception, thrown on empty configuration. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
initWhen
(boolean criteria) Check, is the configuration initialized.protected void
throwValidationException
(String message, Object... args) Throws validation exception.
-
Field Details
-
log
-
EMPTY
-
-
Constructor Details
-
Config
The constructor has to be overwritten and implement parameters parsing. Simple constructor, without deprecated keys validation support.- Parameters:
config
- configuration, MUST benull
when callingsuper
.
-
Config
The constructor has to be overwritten and implement parameters parsing.- Parameters:
config
- configuration, MUST benull
when callingsuper
.validate
- validation old configuration keys.
-
-
Method Details
-
initWhen
Check, is the configuration initialized.- Parameters:
criteria
-- Throws:
Config.InitStopException
- if is false.
-
throwValidationException
Throws validation exception.- Parameters:
message
-args
-- Throws:
BGMessageException
-