Class VmwareDatacollectionConfig

    • Constructor Detail

      • VmwareDatacollectionConfig

        public VmwareDatacollectionConfig()
    • Method Detail

      • enumerateVmwareCollection

        public Enumeration<VmwareCollection> enumerateVmwareCollection()
        Method enumerateVmwareCollection.
        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.
      • getRrdRepository

        public String getRrdRepository()
        Returns the value of field 'rrdRepository'.
        Returns:
        the value of field 'RrdRepository'.
      • getVmwareCollection

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

        public VmwareCollection[] getVmwareCollection()
        Method getVmwareCollection.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
      • getVmwareCollectionCollection

        public List<VmwareCollection> getVmwareCollectionCollection()
        Method getVmwareCollectionCollection.Returns a reference to '_vmwareCollectionList'. No type checking is performed on any modifications to the Vector.
        Returns:
        a reference to the Vector backing this class
      • getVmwareCollectionCount

        public int getVmwareCollectionCount()
        Method getVmwareCollectionCount.
        Returns:
        the size of this collection
      • iterateVmwareCollection

        public Iterator<VmwareCollection> iterateVmwareCollection()
        Method iterateVmwareCollection.
        Returns:
        an Iterator over all possible elements in this collection
      • removeAllVmwareCollection

        public void removeAllVmwareCollection()
      • removeVmwareCollection

        public boolean removeVmwareCollection​(VmwareCollection vVmwareCollection)
        Method removeVmwareCollection.
        Parameters:
        vVmwareCollection -
        Returns:
        true if the object was removed from the collection.
      • removeVmwareCollectionAt

        public VmwareCollection removeVmwareCollectionAt​(int index)
        Method removeVmwareCollectionAt.
        Parameters:
        index -
        Returns:
        the element removed from the collection
      • setRrdRepository

        public void setRrdRepository​(String rrdRepository)
        Sets the value of field 'rrdRepository'.
        Parameters:
        rrdRepository - the value of field 'rrdRepository'.
      • setVmwareCollection

        public void setVmwareCollection​(VmwareCollection[] vVmwareCollectionArray)
        Parameters:
        vVmwareCollectionArray -
      • setVmwareCollection

        public void setVmwareCollection​(List<VmwareCollection> vVmwareCollectionList)
        Sets the value of '_vmwareCollectionList' by copying the given Vector. All elements will be checked for type safety.
        Parameters:
        vVmwareCollectionList - the Vector to copy.