Package lumis.portal

Class PortalConfiguration

    • Constructor Detail

      • PortalConfiguration

        public PortalConfiguration()
        Constructor for the web container to call it as a ServletContextListener.
      • PortalConfiguration

        public PortalConfiguration​(String lumisDataDir)
        Constructor for custom configuration outside a web container. The portal is initialized as a result of a call to this constructor.
        See Also:
        PortalConfiguration(String, boolean)
      • PortalConfiguration

        public PortalConfiguration​(String lumisDataDir,
                                   boolean initialize)
        Constructor for custom configuration outside a web container.
        Parameters:
        lumisDataDir - the path for the portal lumisdata directory.
        initialize - if true, the portal will be initialized. Use false only when performing operations without an existing database, such as initializing the portal database.
        Since:
        4.0.7
    • Method Detail

      • isInitialized

        public static boolean isInitialized()
        Returns whether the LumisXP core system completed its runtime initialization.
        Returns:
        true if it is initialized, false otherwise.
        Since:
        14.1.0
      • getLumisDataPath

        public String getLumisDataPath()
        Returns the lumis data path.
      • isDevelopmentMode

        public boolean isDevelopmentMode()
        Indicates if the portal is running in development mode.
        Since:
        4.2.0
      • getCurrentConfiguration

        public static PortalConfiguration getCurrentConfiguration()
        Returns the current portal configuration.
      • setCurrentConfiguration

        public static void setCurrentConfiguration​(PortalConfiguration currentConfiguration)
        Method for setting a custom configuration outside a web container.