Class AdminServer

  • All Implemented Interfaces:
    ConfigurationElement, ConfigurationFile, java.lang.Cloneable

    public class AdminServer
    extends AbstractConfigurationElement
    A AdminServer class instance represents the information regarding an Intelligence Server. All the details required to add an Intelligence Server can be found here
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Constructor Detail

      • AdminServer

        public AdminServer()
        Class constructor. Initializes a new -empty- instance of the AdminServer class.
      • AdminServer

        public AdminServer​(org.w3c.dom.Node root)
        Class constructor. Initializes an AdminServer instance based on the information included on the XML Node
        Parameters:
        root - Node instance representing the Admin Server information.
    • Method Detail

      • getName

        public java.lang.String getName()
        Method to return the name of the Intelligence Server which is represented by this object.
        Returns:
        the server name
      • setName

        public void setName​(java.lang.String serverName)
        Set the name of the Intelligence Server which is represented by this object.
        Parameters:
        serverName - the new name of the server
      • getConnected

        public boolean getConnected()
        Determine if the Intelligence Server represented by this object is connected.
        Returns:
        true if the the Intelligence Server is connected
      • setConnected

        public void setConnected​(boolean connected)
        Set the connected property to true if the Intelligence Server represented by this object is connected.
        Parameters:
        connected - boolean value set to true indicating that the Intelligence Server represented by this object is connected.
      • getKeyAttribute

        protected java.lang.String getKeyAttribute()
        Description copied from class: AbstractConfigurationElement
        This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override the getKey and setKey methods.
        Specified by:
        getKeyAttribute in class AbstractConfigurationElement
        Since:
        MicroStrategy Web 9.0.0
      • getKey

        public java.lang.Object getKey()
        Description copied from class: AbstractConfigurationElement
        Default implementation for getKey(). It assumes a single attribute can be used to uniquely identify this element among its siblings; the attribute to use is specified by the getKeyAttribute() method.
        Specified by:
        getKey in interface ConfigurationElement
        Overrides:
        getKey in class AbstractConfigurationElement
        Returns:
        If getKeyAttribute() is empty returns null, otherwise it returns the value of the given attribute.
        Since:
        MicroStrategy Web 9.0.0