Class VHostItem


  • public class VHostItem
    extends Object

    VHostItem: data class that hold definition of a virtual host.

    • Constructor Detail

      • VHostItem

        public VHostItem()
        Create empty vHostItem
    • Method Detail

      • reset

        public void reset()
        Reset vHostItem to empty state
      • getConfigDir

        public String getConfigDir()
        Get configuration path for vHost.
        Returns:
        configuration path for vHost
      • setConfigDir

        public void setConfigDir​(String configDir)
        Set configuration path for vHost.
        Parameters:
        configDir - configuration path for vHost
      • getName

        public String getName()
        Get vHost name
        Returns:
        vHost name
      • setName

        public void setName​(String name)
        Set vHost name
        Parameters:
        name - vHost name
      • getProperties

        public WMSProperties getProperties()
        Get properties
        Returns:
        properties
      • setProperties

        public void setProperties​(WMSProperties properties)
        Set properties
        Parameters:
        properties - properties
      • isVisited

        public boolean isVisited()
        Has this vHostItem been visited during load of VHosts.xml file. Internally used to track and delete vHost definitions on reload of VHosts.xml.
        Returns:
        Has this vHostItem been visited during load
      • setVisited

        public void setVisited​(boolean visited)
        Set is visited.
        Parameters:
        visited - is visited
      • getConnectionLimit

        public int getConnectionLimit()
        Get connection limit of this vHost item.
        Returns:
        connection limit of this vHost item
      • setConnectionLimit

        public void setConnectionLimit​(int connectionLimit)
        Set connection limit of this vHost item.
        Parameters:
        connectionLimit - connection limit of this vHost item
      • toString

        public String toString()
        Format vHost item
        Overrides:
        toString in class Object