org.opennms.netmgt.notifd.mock
Class MockNotifdConfigManager
java.lang.Object
org.opennms.netmgt.config.NotifdConfigManager
org.opennms.netmgt.notifd.mock.MockNotifdConfigManager
- public class MockNotifdConfigManager
- extends NotifdConfigManager
- Author:
- David Hustace
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_configString
private java.lang.String m_configString
m_nextNotifIdSql
private java.lang.String m_nextNotifIdSql
MockNotifdConfigManager
public MockNotifdConfigManager(java.lang.String configString)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
java.io.IOException
- Parameters:
configString
-
- Throws:
java.io.IOException
org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException
update
protected void update()
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Specified by:
update
in class NotifdConfigManager
- Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
saveXml
protected void saveXml(java.lang.String xml)
throws java.io.IOException
- Specified by:
saveXml
in class NotifdConfigManager
- Parameters:
xml
-
- Throws:
java.io.IOException
getNextNotifIdSql
public java.lang.String getNextNotifIdSql()
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
getNextNotifIdSql
in class NotifdConfigManager
- Returns:
-
- Throws:
java.io.IOException
org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException
setNextNotifIdSql
public void setNextNotifIdSql(java.lang.String sql)
Generated by eevans on May 29 2005 2015.