Class VmwareConfig

    • Constructor Detail

      • VmwareConfig

        public VmwareConfig()
    • Method Detail

      • enumerateVmwareServer

        public Enumeration<VmwareServer> enumerateVmwareServer()
        Method enumerateVmwareServer.
        Returns:
        an Enumeration over all possible elements of this collection
      • equals

        public boolean equals​(Object obj)
        Overrides the java.lang.Object.equals method.
        Overrides:
        equals in class Object
        Parameters:
        obj -
        Returns:
        true if the objects are equal.
      • getVmwareServer

        public VmwareServer getVmwareServer​(int index)
                                     throws IndexOutOfBoundsException
        Method getVmwareServer.
        Parameters:
        index -
        Returns:
        the value of the org.opennms.netmgt.config.vmware.VmwareServer at the given index
        Throws:
        IndexOutOfBoundsException - if the index given is outside the bounds of the collection
      • getVmwareServer

        public VmwareServer[] getVmwareServer()
        Method getVmwareServer.Returns the contents of the collection in an Array.

        Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.

        Returns:
        this collection as an Array
      • getVmwareServerCollection

        public List<VmwareServer> getVmwareServerCollection()
        Method getVmwareServerCollection.Returns a reference to '_vmwareServerList'. No type checking is performed on any modifications to the Vector.
        Returns:
        a reference to the Vector backing this class
      • getVmwareServerCount

        public int getVmwareServerCount()
        Method getVmwareServerCount.
        Returns:
        the size of this collection
      • iterateVmwareServer

        public Iterator<VmwareServer> iterateVmwareServer()
        Method iterateVmwareServer.
        Returns:
        an Iterator over all possible elements in this collection
      • removeAllVmwareServer

        public void removeAllVmwareServer()
      • removeVmwareServer

        public boolean removeVmwareServer​(VmwareServer vVmwareServer)
        Method removeVmwareServer.
        Parameters:
        vVmwareServer -
        Returns:
        true if the object was removed from the collection.
      • removeVmwareServerAt

        public VmwareServer removeVmwareServerAt​(int index)
        Method removeVmwareServerAt.
        Parameters:
        index -
        Returns:
        the element removed from the collection
      • setVmwareServer

        public void setVmwareServer​(VmwareServer[] vVmwareServerArray)
        Parameters:
        vVmwareServerArray -
      • setVmwareServer

        public void setVmwareServer​(List<VmwareServer> vVmwareServerList)
        Sets the value of '_vmwareServerList' by copying the given Vector. All elements will be checked for type safety.
        Parameters:
        vVmwareServerList - the Vector to copy.