Class XmlDataCollectionConfig

    • Field Detail

      • XML_DATACOLLECTION_CONFIG_FILE

        public static final 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 List<XmlDataCollection> getXmlDataCollections()
        Gets the XML data collections.
        Returns:
        the XML data collections
      • setXmlDataCollections

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

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

        public void setRrdRepository​(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​(String name)
        Removes the data collection by name.
        Parameters:
        name - the name
      • getDataCollectionByName

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

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