Class ServerConfiguration


  • public class ServerConfiguration
    extends java.lang.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 java.lang.String getServerId()
        Returns the server identifier.
        Returns:
        the server identifier.
        Since:
        7.1.0
      • getBaseSourcePath

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

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

        public static void updateConfiguration​(java.lang.String serverId,
                                               java.lang.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​(java.lang.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