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

public abstract class Config extends Object
Configuration, created on demand in ConfigMap.getConfig(Class) and cached before it has changed.
  • Nested Class Summary Link icon

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    The exception, thrown on empty configuration.
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final Config
     
    protected static final Log
     
  • Constructor Summary Link icon

    Constructors
    Modifier
    Constructor
    Description
    protected
    Config(ConfigMap config)
    The constructor has to be overwritten and implement parameters parsing.
    protected
    Config(ConfigMap config, boolean validate)
    The constructor has to be overwritten and implement parameters parsing.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    protected void
    initWhen(boolean criteria)
    Check, is the configuration initialized.
    protected void
    Throws validation exception.

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • log Link icon

      protected static final Log log
    • EMPTY Link icon

      public static final Config EMPTY
  • Constructor Details Link icon

    • Config Link icon

      protected Config(ConfigMap config)
      The constructor has to be overwritten and implement parameters parsing. Simple constructor, without deprecated keys validation support.
      Parameters:
      config - configuration, MUST be null when calling super.
    • Config Link icon

      protected Config(ConfigMap config, boolean validate)
      The constructor has to be overwritten and implement parameters parsing.
      Parameters:
      config - configuration, MUST be null when calling super.
      validate - validation old configuration keys.
  • Method Details Link icon