Class Confectory


  • public final class Confectory
    extends Object
    A Facade for common operations in the Confectory project.
    Since:
    0.1.0
    Author:
    FernandoNSC (Fernando Tiannamen)
    • Method Detail

      • container

        public static ConfigurationContainer container()
        Retrieves a ConfigurationContainer instance that can be accessed statically for holding global configuration data.

        It is possible to copy objects from an existing ConfigurationContainer into the global instance by calling:

         Confectory.container().addAll(otherContainer);
         

        Note: Configuration data stored in the global container may be shared by other applications loaded in the same classpath.

        Returns:
        the global ConfigurationContainer instance
      • settings

        public static ConfectorySettings settings()
        Returns an object containing global settings for the Confectory project.
        Returns:
        a reference to the current ConfectorySettings instance