Package org.opennms.netmgt.config.mock
Class MockDestinationPathManager
- java.lang.Object
-
- org.opennms.netmgt.config.DestinationPathManager
-
- org.opennms.netmgt.config.mock.MockDestinationPathManager
-
public class MockDestinationPathManager extends DestinationPathManager
- Author:
- david hustace
-
-
Constructor Summary
Constructors Constructor Description MockDestinationPathManager(String xmlString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
saveXML(String writerString)
saveXMLvoid
update()
update-
Methods inherited from class org.opennms.netmgt.config.DestinationPathManager
addPath, getPath, getPaths, getTargetCommands, getTargetList, parseXML, pathHasTarget, removePath, removePath, replacePath, saveCurrent
-
-
-
-
Constructor Detail
-
MockDestinationPathManager
public MockDestinationPathManager(String xmlString) throws IOException
- Throws:
IOException
-
-
Method Detail
-
saveXML
protected void saveXML(String writerString) throws IOException
Description copied from class:DestinationPathManager
saveXML
- Specified by:
saveXML
in classDestinationPathManager
- Parameters:
writerString
- aString
object.- Throws:
IOException
- if any.
-
update
public void update() throws IOException, FileNotFoundException
Description copied from class:DestinationPathManager
update
- Specified by:
update
in classDestinationPathManager
- Throws:
IOException
- if any.FileNotFoundException
- if any.
-
-