Class PrometheusDatacollectionConfig
- java.lang.Object
-
- org.opennms.netmgt.config.prometheus.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 Summary
Fields Modifier and Type Field Description protected java.util.List<Collection>
collection
protected java.util.List<Group>
group
protected java.lang.String
rrdRepository
-
Constructor Summary
Constructors Constructor Description PrometheusDatacollectionConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.util.List<Collection>
getCollection()
Gets the value of the collection property.java.util.List<Group>
getGroup()
Gets the value of the group property.java.lang.String
getRrdRepository()
Gets the value of the rrdRepository property.int
hashCode()
PrometheusDatacollectionConfig
merge(PrometheusDatacollectionConfig other)
void
setRrdRepository(java.lang.String value)
Sets the value of the rrdRepository property.
-
-
-
Field Detail
-
collection
protected java.util.List<Collection> collection
-
group
protected java.util.List<Group> group
-
rrdRepository
protected java.lang.String rrdRepository
-
-
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 isString
-
merge
public PrometheusDatacollectionConfig merge(PrometheusDatacollectionConfig other)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-