Package ru.bgcrm.util

Class Config

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Config​(ParameterMap setup)  
      protected Config​(ParameterMap setup, boolean validate)
      The constructor has to be overwritten and implement parameters parsing.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void initWhen​(boolean criteria)
      Check, is the configuration inited.
      protected void throwValidationException​(java.lang.String message, java.lang.Object... args)
      Throws validation exception.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Config

        protected Config​(ParameterMap setup,
                         boolean validate)
        The constructor has to be overwritten and implement parameters parsing.
        Parameters:
        setup - configuration.
        validate - validation on parse.