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 CollectiongetCollectionByName(String name)PrometheusDatacollectionConfiggetConfig()List<Group>getGroupsForCollection(Collection collection)PrometheusDatacollectionConfigmergeConfigs(PrometheusDatacollectionConfig source, PrometheusDatacollectionConfig target)PrometheusDatacollectionConfigtranslateConfig(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:
translateConfigin classAbstractMergingJaxbConfigDao<PrometheusDatacollectionConfig,PrometheusDatacollectionConfig>
-
mergeConfigs
public PrometheusDatacollectionConfig mergeConfigs(PrometheusDatacollectionConfig source, PrometheusDatacollectionConfig target)
- Specified by:
mergeConfigsin classAbstractMergingJaxbConfigDao<PrometheusDatacollectionConfig,PrometheusDatacollectionConfig>
-
getConfig
public PrometheusDatacollectionConfig getConfig()
- Specified by:
getConfigin interfacePrometheusDataCollectionConfigDao
-
getCollectionByName
public Collection getCollectionByName(String name)
- Specified by:
getCollectionByNamein interfacePrometheusDataCollectionConfigDao
-
getGroupsForCollection
public List<Group> getGroupsForCollection(Collection collection)
- Specified by:
getGroupsForCollectionin interfacePrometheusDataCollectionConfigDao
-
-