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(java.lang.String xmlString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsaveXML(java.lang.String writerString)saveXMLvoidupdate()update-
Methods inherited from class org.opennms.netmgt.config.DestinationPathManager
addPath, getPath, getPaths, getTargetCommands, getTargetList, parseXML, pathHasTarget, removePath, removePath, replacePath, saveCurrent
-
-
-
-
Method Detail
-
saveXML
protected void saveXML(java.lang.String writerString) throws java.io.IOExceptionDescription copied from class:DestinationPathManagersaveXML
- Specified by:
saveXMLin classDestinationPathManager- Parameters:
writerString- aStringobject.- Throws:
java.io.IOException- if any.
-
update
public void update() throws java.io.IOException, java.io.FileNotFoundExceptionDescription copied from class:DestinationPathManagerupdate
- Specified by:
updatein classDestinationPathManager- Throws:
java.io.IOException- if any.java.io.FileNotFoundException- if any.
-
-