Class CommitterRecipient
java.lang.Object
com.atlassian.bamboo.notification.recipients.AbstractNotificationRecipient
com.atlassian.bamboo.notification.recipients.CommitterRecipient
- All Implemented Interfaces:
NotificationRecipient,NotificationRecipient.RequiresPlan,NotificationRecipient.RequiresResultSummary,NotificationRecipient.UserRecipientExpandable,BambooPluginModule,Comparable
public class CommitterRecipient
extends AbstractNotificationRecipient
implements NotificationRecipient.RequiresResultSummary, NotificationRecipient.UserRecipientExpandable, NotificationRecipient.RequiresPlan
Represents a notification recipient for whoever has committed to a build
Only relevant for a build completed notification related events.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.notification.NotificationRecipient
NotificationRecipient.RequiresEvent, NotificationRecipient.RequiresPlan, NotificationRecipient.RequiresResultSummary, NotificationRecipient.Scope, NotificationRecipient.UserRecipientExpandable -
Field Summary
Fields inherited from class com.atlassian.bamboo.notification.recipients.AbstractNotificationRecipient
notificationRecipientModuleDescriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull List<NotificationTransport>Evaluates the appropriate mediums for sending notifications for this recipient, returning a list of appropriate transports.@NotNull Set<UserRecipient>@NotNull StringReturns the HTML representing the notification type for the notificationvoidsetCommitManager(CommitManager commitManager) voidsetCommits(Set<? extends CommitContext> commits) voidsetNotificationFactory(NotificationFactory notificationFactory) voidsetPermissionManager(BambooPermissionManager permissionManager) voidsetPlan(@Nullable ImmutablePlan plan) voidsetResultsSummary(@Nullable ResultsSummary resultsSummary) Methods inherited from class com.atlassian.bamboo.notification.recipients.AbstractNotificationRecipient
compareTo, getDescription, getEditHtml, getKey, getModuleDescriptor, getParam, getRecipientConfig, getScopes, getTransports, init, init, populate, validate
-
Constructor Details
-
CommitterRecipient
public CommitterRecipient()
-
-
Method Details
-
getTransports
Description copied from interface:NotificationRecipientEvaluates the appropriate mediums for sending notifications for this recipient, returning a list of appropriate transports.- Specified by:
getTransportsin interfaceNotificationRecipient
-
getUserRecipients
- Specified by:
getUserRecipientsin interfaceNotificationRecipient.UserRecipientExpandable
-
getViewHtml
Description copied from interface:NotificationRecipientReturns the HTML representing the notification type for the notification- Specified by:
getViewHtmlin interfaceNotificationRecipient- Overrides:
getViewHtmlin classAbstractNotificationRecipient- Returns:
- HTML of data for view configuration. If this returns null the description will be used.
-
setResultsSummary
- Specified by:
setResultsSummaryin interfaceNotificationRecipient.RequiresResultSummary
-
setNotificationFactory
-
setCommits
-
setPlan
- Specified by:
setPlanin interfaceNotificationRecipient.RequiresPlan
-
setPermissionManager
-
setCommitManager
-