Class PrometheusDatacollectionConfig


  • public class PrometheusDatacollectionConfig
    extends java.lang.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>
     
    • Field Detail

      • collection

        protected java.util.List<Collection> collection
      • group

        protected java.util.List<Group> group
      • rrdRepository

        protected java.lang.String rrdRepository
    • Constructor Detail

      • PrometheusDatacollectionConfig

        public PrometheusDatacollectionConfig()
    • Method Detail

      • getCollection

        public java.util.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 java.util.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 java.lang.String getRrdRepository()
        Gets the value of the rrdRepository property.
        Returns:
        possible object is String
      • setRrdRepository

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

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object