org.opennms.netmgt.config
Class NotificationCommandManager
java.lang.Object
org.opennms.netmgt.config.NotificationCommandManager
- Direct Known Subclasses:
- NotificationCommandFactory
public abstract class NotificationCommandManager
- extends Object
- Author:
- david hustace
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configIn
protected InputStream configIn
NotificationCommandManager
public NotificationCommandManager()
parseXML
protected void parseXML(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Populate the internal list of notification commands from an XML file.
- Parameters:
reader - contains the XML file to be parsed
- Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
getCommand
public Command getCommand(String name)
- Gets a notification command for a particular command name.
getCommands
public Map<String,Command> getCommands()
- Gets all configured notification commands.
Copyright © 2009. All Rights Reserved.