public class DefaultAckdConfigurationDao extends AbstractJaxbConfigDao<AckdConfiguration,AckdConfiguration> implements AckdConfigurationDao
AckdConfiguration containing utility methods for manipulating
the Ackd and AckdReaders.AbstractJaxbConfigDao.JaxbReloadCallback| Constructor and Description |
|---|
DefaultAckdConfigurationDao()
Constructor for DefaultAckdConfigurationDao.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
acknowledgmentMatch(List<String> messageText)
Utility method for determining if a reply email should acknowledge an acknowledgable
|
Boolean |
clearMatch(List<String> messageText)
Utility method for determining if a reply email should clear an acknowledgable
|
Boolean |
escalationMatch(List<String> messageText)
Utility method for determining if a reply email should escalate an acknowledgable
|
AckdConfiguration |
getConfig()
getConfig
|
int |
getEnabledReaderCount() |
List<Parameter> |
getParametersForReader(String name)
getParametersForReader
|
Reader |
getReader(String readerName)
Utility method to retrieve a readers configuration by name.
|
ReaderSchedule |
getReaderSchedule(String readerName)
Utility method to retrieve a schedule defined for a reader.
|
boolean |
isReaderEnabled(String readerName)
Utility method that determines if a named reader's configuration is enabled.
|
void |
reloadConfiguration()
The exception boils up from the container class The container class should
indicate this.
|
AckdConfiguration |
translateConfig(AckdConfiguration config)
translateConfig
|
Boolean |
unAcknowledgmentMatch(List<String> messageText)
Utility method for determining if a reply email should unacknoweledge an acknowledgable
|
addOnReloadedCallback, afterPropertiesSet, getConfigResource, getContainer, getDescription, getReloadCheckInterval, loadConfig, setConfigResource, setReloadCheckIntervalpublic DefaultAckdConfigurationDao()
Constructor for DefaultAckdConfigurationDao.
public AckdConfiguration getConfig()
getConfig
getConfig in interface AckdConfigurationDaoAckdConfiguration object.public AckdConfiguration translateConfig(AckdConfiguration config)
translateConfig
translateConfig in class AbstractJaxbConfigDao<AckdConfiguration,AckdConfiguration>config - a K object.public Boolean acknowledgmentMatch(List<String> messageText)
acknowledgmentMatch in interface AckdConfigurationDaomessageText - a List object.public Boolean clearMatch(List<String> messageText)
clearMatch in interface AckdConfigurationDaomessageText - a List object.public Boolean escalationMatch(List<String> messageText)
escalationMatch in interface AckdConfigurationDaomessageText - a List object.public Boolean unAcknowledgmentMatch(List<String> messageText)
unAcknowledgmentMatch in interface AckdConfigurationDaomessageText - a List object.public Reader getReader(String readerName)
AckdReader requires that a name property
is defined and the configuration uses that name to retrieve configuration details for that named reader.getReader in interface AckdConfigurationDaoreaderName - a String object.public ReaderSchedule getReaderSchedule(String readerName)
AckdReader requires that a name property
is defined and the configuration uses that name to retrieve configuration details for that named reader.getReaderSchedule in interface AckdConfigurationDaoreaderName - a String object.public boolean isReaderEnabled(String readerName)
AckdReader requires that
a name property is defined and the configuration uses that name to retrieve configuration details for that named reader.isReaderEnabled in interface AckdConfigurationDaoreaderName - a String object.public void reloadConfiguration()
throws org.springframework.dao.DataAccessResourceFailureException
reloadConfiguration in interface AckdConfigurationDaoorg.springframework.dao.DataAccessResourceFailureException - if any.public int getEnabledReaderCount()
getEnabledReaderCount in interface AckdConfigurationDaopublic List<Parameter> getParametersForReader(String name)
getParametersForReader
getParametersForReader in interface AckdConfigurationDaoname - a String object.List object.Copyright © 2021. All rights reserved.