Class XmlDataCollectionConfig

    • Field Detail

      • XML_DATACOLLECTION_CONFIG_FILE

        public static final java.lang.String XML_DATACOLLECTION_CONFIG_FILE
        The Constant XML_DATACOLLECTION_CONFIG_FILE.
        See Also:
        Constant Field Values
    • Constructor Detail

      • XmlDataCollectionConfig

        public XmlDataCollectionConfig()
        Instantiates a new XML data collection configuration.
    • Method Detail

      • getXmlDataCollections

        public java.util.List<XmlDataCollection> getXmlDataCollections()
        Gets the XML data collections.
        Returns:
        the XML data collections
      • setXmlDataCollections

        public void setXmlDataCollections​(java.util.List<XmlDataCollection> xmlDataCollections)
        Sets the XML data collections.
        Parameters:
        xmlDataCollections - the new XML data collections
      • getRrdRepository

        public java.lang.String getRrdRepository()
        Gets the RRD repository.
        Returns:
        the RRD repository
      • setRrdRepository

        public void setRrdRepository​(java.lang.String rrdRepository)
        Sets the RRD repository.
        Parameters:
        rrdRepository - the new RRD repository
      • addDataCollection

        public void addDataCollection​(XmlDataCollection dataCollection)
        Adds the data collection.
        Parameters:
        dataCollection - the data collection
      • removeDataCollection

        public void removeDataCollection​(XmlDataCollection dataCollection)
        Removes the data collection.
        Parameters:
        dataCollection - the data collection
      • removeDataCollectionByName

        public void removeDataCollectionByName​(java.lang.String name)
        Removes the data collection by name.
        Parameters:
        name - the name
      • getDataCollectionByName

        public XmlDataCollection getDataCollectionByName​(java.lang.String name)
        Gets the data collection by name.
        Parameters:
        name - the name
        Returns:
        the data collection by name
      • buildRrdRepository

        public RrdRepository buildRrdRepository​(java.lang.String collectionName)
        Builds the RRD repository.
        Parameters:
        collectionName - the collection name
        Returns:
        the RRD repository
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object