Package org.opennms.netmgt.config
Class NotificationCommandManager
- java.lang.Object
-
- org.opennms.netmgt.config.NotificationCommandManager
-
- Direct Known Subclasses:
MockNotificationCommandManager
,NotificationCommandFactory
public abstract class NotificationCommandManager extends Object
Abstract NotificationCommandManager class.
- Version:
- $Id: $
- Author:
- David Hustace
-
-
Constructor Summary
Constructors Constructor Description NotificationCommandManager()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Command
getCommand(String name)
Gets a notification command for a particular command name.Map<String,Command>
getCommands()
Gets all configured notification commands.protected void
parseXML(InputStream stream)
Populate the internal list of notification commands from an XML file.abstract void
update()
update
-
-
-
Method Detail
-
parseXML
protected void parseXML(InputStream stream) throws IOException
Populate the internal list of notification commands from an XML file.- Parameters:
reader
- contains the XML file to be parsed- Throws:
IOException
-
getCommand
public Command getCommand(String name)
Gets a notification command for a particular command name.
-
-