K
- JAXB classV
- Configuration object that is stored in memory (might be the same
as the JAXB class or could be a different class)public abstract class AbstractMergingJaxbConfigDao<K,V> extends Object
Constructor and Description |
---|
AbstractMergingJaxbConfigDao(Class<K> entityClass,
String description,
Path includeFolder) |
AbstractMergingJaxbConfigDao(Class<K> entityClass,
String description,
Path rootFile,
Path includeFolder) |
Modifier and Type | Method and Description |
---|---|
Date |
getLastUpdate() |
V |
getObject() |
Path |
getOpennmsHome() |
Long |
getReloadCheckInterval() |
abstract V |
mergeConfigs(V source,
V target) |
void |
onConfigUpdated(V object)
Called when the configuration updated was updated.
|
void |
setOpennmsHome(Path opennmsHome) |
void |
setReloadCheckInterval(Long reloadCheckInterval) |
abstract V |
translateConfig(K config) |
public AbstractMergingJaxbConfigDao(Class<K> entityClass, String description, Path includeFolder)
public void setOpennmsHome(Path opennmsHome)
public Path getOpennmsHome()
public void onConfigUpdated(V object)
public V getObject()
public Date getLastUpdate()
public Long getReloadCheckInterval()
public void setReloadCheckInterval(Long reloadCheckInterval)
Copyright © 2021. All rights reserved.