Bamboo 2.0 : Notification Condition Module
This page last changed on Jun 19, 2007 by ahempel.
DescriptionA plugin module which allows you to define your own notification condition You can use this plugin to
InterfaceNotification Condition modules must implement the com.atlassian.bamboo.notification.NotificationCondition interface. Sample Module Descriptor Element<notification-condition key="buildCompleted.XFailedBuilds" name="After X Failed Builds Completed" class="com.atlassian.bamboo.notification.conditions.AfterXFailedBuildsCondition"> <description>Send Notification After X Failed Builds</description> <resource type="freemarker" name="edit" location="templates/plugins/notifications/afterXFailedEdit.ftl"/> <resource type="freemarker" name="view" location="templates/plugins/notifications/afterXFailedView.ftl"/> </notification-condition> Other Information regarding the NotificationCondition classSeveral of the interface methods for this class accept an Event object as a parameter. Current functionality only allows this to be a BuildCompletedEvent. This event will contain the Build object, BuildResults object and BuildResultsSummary object for you to use. RELATED TOPICS
Bamboo Documentation Home |
![]() |
Document generated by Confluence on Apr 14, 2008 01:39 |