com.ibm.team.foundation.rcp.core.notifier
extension point Notifier
and implement Notifier.notify()
The framework will automatically call Notifier.notify()
in case a trigger is enabled that matches the provided conditions.
List of contributed notifiers to choose from
com.ibm.team.foundation.rcp.core.notification
extension point eventcategory
with a unique ID and human readable name
eventtype
to the eventcategory
As soon as your events are described in this way, they will show up in the notification-preferences page so that the user is able to enable a Notifier for this Event.
List of contributed event categories and types
Contributing an event trigger makes it possible to have certain Notifier be enabled for Events out of the box without configuration by the user. Follow these steps to contribute a Trigger for your domain
com.ibm.team.foundation.rcp.core.notification
extension point trigger
with a unique ID and human readable name eventCategoryId
and eventTypeId
the Trigger is responsible for
notifierId
that points to the actual Notifier that should be used
The Trigger comes with a couple of settings that define under which condition the Notifier should be triggered
enabled
- specify if the trigger is initially enabled
textMatch
- Can be used as Filter on the Title
and Message of a Notification. Use the wildcards '*' for any and '?'
for any single character.
showInfos
- If set to TRUE
, this Trigger will show Notifications with the Severity set to INFO
. If set to FALSE, this Trigger will not show Notifications of that Severity.
showWarnings
- If set to TRUE
, this Trigger will show Notifications with the Severity set to WARNING
. If set to FALSE, this Trigger will not show Notifications of that Severity.
showErrors
- If set to TRUE
, this Trigger will show Notifications with the Severity set to ERROR
. If set to FALSE, this Trigger will not show Notifications of that Severity.
minimumPriority
- Allows to select the minimum priority of the Notifications the trigger should process.
List of triggers
Notification.send(String eventTypeId, NotificationInfo? info)
. The two parameters indicate the origin and value of the event: eventTypeId
- the ID of the event type as specified in the com.ibm.team.foundation.rcp.core.notification
extension point
info
- the actual event
-- MarcelBihr - 09 Jun 2008
I | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|
![]() | notificationslist.png | manage | 5.0 K | 09 Jun 2008 - 15:30 | MarcelBihr | List of contributed event categories and types |
![]() | notifierlist.png | manage | 3.7 K | 09 Jun 2008 - 15:31 | MarcelBihr | List of contributed notifiers to choose from |
![]() | triggerlist.png | manage | 5.2 K | 09 Jun 2008 - 15:32 | MarcelBihr | List of triggers |