Bamboo 2.2 : Notification Type Module
This page last changed on Mar 09, 2009 by bmccoy.
Description The NotificationType module identifies your custom notification. Users will be able to select this from the drop down menu and provide any configuration information you require. This class is also responsible for determining whether the notification criteria is met (e.g did the build fail?). For more information on building a completed Notification Plugin see Building a Notification Plugin Interface Notification Types must implement the com.atlassian.bamboo.notification.NotificationType interface. There is an abstract class com.atlassian.bamboo.notification.AbstractNotificationType which you can extend that implements a lot of these methods for you. Sample Module Descriptor <notificationType key="buildError" name="Build Error" class="com.atlassian.bamboo.notification.builderror.BuildErrorNotificationType" weight="40"> <description>Build Error</description> <resource type="freemarker" name="edit" location="templates/plugins/notifications/buildErrorNotificationEdit.ftl"/> </notificationType> |
![]() |
Document generated by Confluence on Mar 09, 2009 17:07 |