|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface should be implemented by a class that wants to be registered in the notification bus.
| 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. |
| Method Detail |
public String getId()
public boolean interested(int type)
type - the type of the event.
true if this listener is interested in the event,
false otherwise.public Resource getResource()
null, no resource filtering will happen.
public void notifyEvent(Event event)
event - the event.Event
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||