Package org.bedework.sysevents.listeners
Class SysEventListener
java.lang.Object
org.bedework.sysevents.listeners.SysEventListener
- Direct Known Subclasses:
SysEventListenerImpl
Listener class registered with the notifications handler to listen for
various types of event.
- Author:
- Mike Douglass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidCalled whenever a matching event occurs.abstract voidsetActionClassName(String className) Set name of action class.abstract voidsetActionObject(SysEventActionClass actionObject) Supply action object - will set class name.abstract StringtoXml()Create a string representation.
-
Constructor Details
-
SysEventListener
public SysEventListener()
-
-
Method Details
-
setActionClassName
Set name of action class.- Parameters:
className-- Throws:
NotificationException
-
setActionObject
Supply action object - will set class name.- Parameters:
actionObject-- Throws:
NotificationException
-
action
Called whenever a matching event occurs. Will call the action class.- Parameters:
ev-- Throws:
NotificationException
-
toXml
Create a string representation.- Returns:
- String
- Throws:
NotificationException
-