Class PrometheusDatacollectionConfig
- java.lang.Object
-
- org.opennms.netmgt.config.prometheus.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Collection>collectionprotected List<Group>groupprotected StringrrdRepository
-
Constructor Summary
Constructors Constructor Description PrometheusDatacollectionConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)List<Collection>getCollection()Gets the value of the collection property.List<Group>getGroup()Gets the value of the group property.StringgetRrdRepository()Gets the value of the rrdRepository property.inthashCode()PrometheusDatacollectionConfigmerge(PrometheusDatacollectionConfig other)voidsetRrdRepository(String value)Sets the value of the rrdRepository property.
-
-
-
Field Detail
-
collection
protected List<Collection> collection
-
rrdRepository
protected String rrdRepository
-
-
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
setmethod 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
setmethod 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 isString
-
merge
public PrometheusDatacollectionConfig merge(PrometheusDatacollectionConfig other)
-
-