|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.bigbross.bossa.history.HistoryListener
This class implements the listener for a historian in the notification bus.
| Constructor Summary | |
HistoryListener(Historian historian)
Creates a new listener. |
|
| Method Summary | |
String |
getId()
Returns the id of this listener. |
Resource |
getResource()
Returns the resource used to further filter the work item or activity related events passed to this listener. |
boolean |
interested(int type)
Indicates if this listener is interested in an event type. |
void |
notifyEvent(Event event)
Notifies this listener of an event. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HistoryListener(Historian historian)
historian - the historian this listener is working to.| Method Detail |
public String getId()
Listener
getId in interface ListenerListener.getId()public boolean interested(int type)
Listener
interested in interface Listenertype - the type of the event.
true if this listener is interested in the event,
false otherwise.Listener.interested(int)public Resource getResource()
Listenernull, no resource filtering will happen.
getResource in interface ListenerListener.getResource()public void notifyEvent(Event event)
Listener
notifyEvent in interface Listenerevent - the event.Listener.notifyEvent(
com.bigbross.bossa.notify.Event)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||