Class AdminServersList

    • Constructor Detail

      • AdminServersList

        public AdminServersList()
      • AdminServersList

        public AdminServersList​(org.w3c.dom.Node root)
        Class constructor. Creates a new instance of the AdminServersList, initializing it with the information provided on an xml Node.
        Parameters:
        root - Node instance representing the information regarding admin servers list.
      • AdminServersList

        public AdminServersList​(org.w3c.dom.Document doc)
        Class constructor. Creates a new instance of the AdminServersList, initializing it with the information provided on an xml Document.
        Parameters:
        doc - DOM Document with information to initialize this class
    • Method Detail

      • getAdminServer

        public AdminServer getAdminServer​(java.lang.String serverName)
        Method to determine the AdminServer Object that corresponds to the Intelligence Server name specified.
        Parameters:
        serverName - The name of the Intelligence Server for which we want the AdminServer object.
        Returns:
        AdminServer The object representation corresponding to the name of the Intelligence Server specified as an argument.
      • getServerCount

        public int getServerCount()
        Determine the number of Intelligence Servers represented in this AdminServersList object.
        Returns:
        The count of Intelligence Servers.
      • save

        public void save​(java.lang.String fileContents,
                         java.lang.String fileName)
                  throws WebAppRuntimeException
        Save all the information regarding the list of AdminServers (Intelligence Servers) to disk.
        Parameters:
        fileContents - The string representation of the all the Admin Servers information.
        fileName - The name of the file(along with path information) where we want to store the information.
        Throws:
        WebAppRuntimeException