Class CoreModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CoreModel
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Method Detail

      • of

        public static CoreModel of​(cz.o2.proxima.typesafe.config.Config cfg)
        Create instance of CoreModel for production usage.
        Parameters:
        cfg - configuration to use
        Returns:
        CoreModel
      • of

        public static CoreModel of​(ConfigRepository.Builder builder)
        Create instance of CoreModel with specified ConfigRepository.Builder.
        Parameters:
        builder - configuration to use
        Returns:
        CoreModel
      • ofTest

        public static CoreModel ofTest​(cz.o2.proxima.typesafe.config.Config config,
                                       Repository.Validate... validations)
        Create instance of CoreModel for testing purposes.
        Parameters:
        config - the configuration to use
        validations - which validations to perform
        Returns:
        CoreModel