Package org.opennms.netmgt.dao.jaxb
Class WSManDataCollectionConfigDaoJaxb
- java.lang.Object
-
- org.opennms.core.xml.AbstractMergingJaxbConfigDao<WsmanDatacollectionConfig,WsmanDatacollectionConfig>
-
- org.opennms.netmgt.dao.jaxb.WSManDataCollectionConfigDaoJaxb
-
- All Implemented Interfaces:
WSManDataCollectionConfigDao
public class WSManDataCollectionConfigDaoJaxb extends AbstractMergingJaxbConfigDao<WsmanDatacollectionConfig,WsmanDatacollectionConfig> implements WSManDataCollectionConfigDao
-
-
Constructor Summary
Constructors Constructor Description WSManDataCollectionConfigDaoJaxb()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectiongetCollectionByName(String name)WsmanDatacollectionConfiggetConfig()List<Group>getGroupsForAgent(Collection collection, CollectionAgent agent, WsmanAgentConfig agentConfig, OnmsNode node)List<SystemDefinition>getSystemDefinitionsForCollection(Collection collection)static booleanisAgentSupportedBySystemDefinition(SystemDefinition sysDef, CollectionAgent agent, WsmanAgentConfig agentConfig, OnmsNode node)WsmanDatacollectionConfigmergeConfigs(WsmanDatacollectionConfig source, WsmanDatacollectionConfig target)WsmanDatacollectionConfigtranslateConfig(WsmanDatacollectionConfig config)-
Methods inherited from class org.opennms.core.xml.AbstractMergingJaxbConfigDao
getLastUpdate, getObject, getOpennmsHome, getReloadCheckInterval, onConfigUpdated, setOpennmsHome, setReloadCheckInterval
-
-
-
-
Method Detail
-
translateConfig
public WsmanDatacollectionConfig translateConfig(WsmanDatacollectionConfig config)
- Specified by:
translateConfigin classAbstractMergingJaxbConfigDao<WsmanDatacollectionConfig,WsmanDatacollectionConfig>
-
mergeConfigs
public WsmanDatacollectionConfig mergeConfigs(WsmanDatacollectionConfig source, WsmanDatacollectionConfig target)
- Specified by:
mergeConfigsin classAbstractMergingJaxbConfigDao<WsmanDatacollectionConfig,WsmanDatacollectionConfig>
-
getConfig
public WsmanDatacollectionConfig getConfig()
- Specified by:
getConfigin interfaceWSManDataCollectionConfigDao
-
getCollectionByName
public Collection getCollectionByName(String name)
- Specified by:
getCollectionByNamein interfaceWSManDataCollectionConfigDao
-
getGroupsForAgent
public List<Group> getGroupsForAgent(Collection collection, CollectionAgent agent, WsmanAgentConfig agentConfig, OnmsNode node)
- Specified by:
getGroupsForAgentin interfaceWSManDataCollectionConfigDao
-
getSystemDefinitionsForCollection
public List<SystemDefinition> getSystemDefinitionsForCollection(Collection collection)
-
isAgentSupportedBySystemDefinition
public static boolean isAgentSupportedBySystemDefinition(SystemDefinition sysDef, CollectionAgent agent, WsmanAgentConfig agentConfig, OnmsNode node)
-
-