Class PrometheusDatacollectionConfig


  • public class PrometheusDatacollectionConfig
    extends Object

    Java class for anonymous complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://xmlns.opennms.org/xsd/config/prometheus-datacollection}collection" maxOccurs="unbounded"/>
             <element ref="{http://xmlns.opennms.org/xsd/config/prometheus-datacollection}group" maxOccurs="unbounded"/>
           </sequence>
           <attribute name="rrdRepository" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • PrometheusDatacollectionConfig

        public PrometheusDatacollectionConfig()
    • Method Detail

      • getCollection

        public List<Collection> getCollection()
        Gets the value of the collection property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the collection property.

        For example, to add a new item, do as follows:

            getCollection().add(newItem);
         

        Objects of the following type(s) are allowed in the list Collection

      • getGroup

        public List<Group> getGroup()
        Gets the value of the group property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the group property.

        For example, to add a new item, do as follows:

            getGroup().add(newItem);
         

        Objects of the following type(s) are allowed in the list Group

      • getRrdRepository

        public String getRrdRepository()
        Gets the value of the rrdRepository property.
        Returns:
        possible object is String
      • setRrdRepository

        public void setRrdRepository​(String value)
        Sets the value of the rrdRepository property.
        Parameters:
        value - allowed object is String
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object