Class ServerConfiguration


  • public class ServerConfiguration
    extends Object
    The LumisXP server configuration.
    Since:
    7.1.0
    Version:
    $Revision: 22420 $ $Date: 2019-02-19 16:21:02 -0300 (Tue, 19 Feb 2019) $
    • Method Detail

      • getServerId

        public String getServerId()
        Returns the server identifier.
        Returns:
        the server identifier.
        Since:
        7.1.0
      • getBaseSourcePath

        public String getBaseSourcePath()
        Returns the server base source path.
        Returns:
        the server base source path.
        Since:
        7.1.0
      • setBaseSourcePath

        public void setBaseSourcePath​(String baseSourcePath)
        Sets the server base source path.
        Parameters:
        baseSourcePath - the server base source path.
        Since:
        7.1.0
      • updateConfiguration

        public static void updateConfiguration​(String serverId,
                                               String baseSourcePath)
                                        throws PortalException
        Updates the configuration.
        Parameters:
        serverId - the id of server configuration.
        baseSourcePath - the base source path of the server.
        Throws:
        PortalException - if any error occurs during the process.
        Since:
        7.1.0
      • removeConfiguration

        public static void removeConfiguration​(String serverId)
                                        throws PortalException
        Removes the configuration for a given server id.
        Parameters:
        serverId - the server id to be removed.
        Throws:
        PortalException - if any error occurs during the process.
        Since:
        7.1.0