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 Collection
getCollectionByName(String name)
WsmanDatacollectionConfig
getConfig()
List<Group>
getGroupsForAgent(Collection collection, CollectionAgent agent, WsmanAgentConfig agentConfig, OnmsNode node)
List<SystemDefinition>
getSystemDefinitionsForCollection(Collection collection)
static boolean
isAgentSupportedBySystemDefinition(SystemDefinition sysDef, CollectionAgent agent, WsmanAgentConfig agentConfig, OnmsNode node)
WsmanDatacollectionConfig
mergeConfigs(WsmanDatacollectionConfig source, WsmanDatacollectionConfig target)
WsmanDatacollectionConfig
translateConfig(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:
translateConfig
in classAbstractMergingJaxbConfigDao<WsmanDatacollectionConfig,WsmanDatacollectionConfig>
-
mergeConfigs
public WsmanDatacollectionConfig mergeConfigs(WsmanDatacollectionConfig source, WsmanDatacollectionConfig target)
- Specified by:
mergeConfigs
in classAbstractMergingJaxbConfigDao<WsmanDatacollectionConfig,WsmanDatacollectionConfig>
-
getConfig
public WsmanDatacollectionConfig getConfig()
- Specified by:
getConfig
in interfaceWSManDataCollectionConfigDao
-
getCollectionByName
public Collection getCollectionByName(String name)
- Specified by:
getCollectionByName
in interfaceWSManDataCollectionConfigDao
-
getGroupsForAgent
public List<Group> getGroupsForAgent(Collection collection, CollectionAgent agent, WsmanAgentConfig agentConfig, OnmsNode node)
- Specified by:
getGroupsForAgent
in interfaceWSManDataCollectionConfigDao
-
getSystemDefinitionsForCollection
public List<SystemDefinition> getSystemDefinitionsForCollection(Collection collection)
-
isAgentSupportedBySystemDefinition
public static boolean isAgentSupportedBySystemDefinition(SystemDefinition sysDef, CollectionAgent agent, WsmanAgentConfig agentConfig, OnmsNode node)
-
-