Class PrometheusDataCollectionConfigDaoJaxb
- java.lang.Object
-
- org.opennms.core.xml.AbstractMergingJaxbConfigDao<PrometheusDatacollectionConfig,PrometheusDatacollectionConfig>
-
- org.opennms.netmgt.dao.prometheus.PrometheusDataCollectionConfigDaoJaxb
-
- All Implemented Interfaces:
PrometheusDataCollectionConfigDao
public class PrometheusDataCollectionConfigDaoJaxb extends AbstractMergingJaxbConfigDao<PrometheusDatacollectionConfig,PrometheusDatacollectionConfig> implements PrometheusDataCollectionConfigDao
-
-
Constructor Summary
Constructors Constructor Description PrometheusDataCollectionConfigDaoJaxb()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection
getCollectionByName(java.lang.String name)
PrometheusDatacollectionConfig
getConfig()
java.util.List<Group>
getGroupsForCollection(Collection collection)
PrometheusDatacollectionConfig
mergeConfigs(PrometheusDatacollectionConfig source, PrometheusDatacollectionConfig target)
PrometheusDatacollectionConfig
translateConfig(PrometheusDatacollectionConfig config)
-
Methods inherited from class org.opennms.core.xml.AbstractMergingJaxbConfigDao
getLastUpdate, getObject, getOpennmsHome, getReloadCheckInterval, onConfigUpdated, setOpennmsHome, setReloadCheckInterval
-
-
-
-
Method Detail
-
translateConfig
public PrometheusDatacollectionConfig translateConfig(PrometheusDatacollectionConfig config)
- Specified by:
translateConfig
in classAbstractMergingJaxbConfigDao<PrometheusDatacollectionConfig,PrometheusDatacollectionConfig>
-
mergeConfigs
public PrometheusDatacollectionConfig mergeConfigs(PrometheusDatacollectionConfig source, PrometheusDatacollectionConfig target)
- Specified by:
mergeConfigs
in classAbstractMergingJaxbConfigDao<PrometheusDatacollectionConfig,PrometheusDatacollectionConfig>
-
getConfig
public PrometheusDatacollectionConfig getConfig()
- Specified by:
getConfig
in interfacePrometheusDataCollectionConfigDao
-
getCollectionByName
public Collection getCollectionByName(java.lang.String name)
- Specified by:
getCollectionByName
in interfacePrometheusDataCollectionConfigDao
-
getGroupsForCollection
public java.util.List<Group> getGroupsForCollection(Collection collection)
- Specified by:
getGroupsForCollection
in interfacePrometheusDataCollectionConfigDao
-
-