@PublicApi
public interface NotificationBuilder
AdhocNotificationService
Modifier and Type | Method and Description |
---|---|
NotificationBuilder |
addRestrictGroup(String group)
If group restrictions are added, then the recipients must belong to at least one of the added groups.
|
NotificationBuilder |
addRestrictGroups(List<String> groups)
If group restrictions are added, then the recipients must belong to at least one of the added groups.
|
NotificationBuilder |
addRestrictPermission(Permissions.Permission permission)
If permission restrictions are added, then the recipients must belong to at least one of the added permissions.
|
NotificationBuilder |
addRestrictPermissions(List<Permissions.Permission> permissions)
If permission restrictions are added, then the recipients must belong to at least one of the added permissions.
|
NotificationBuilder |
addToEmail(String email) |
NotificationBuilder |
addToEmails(List<String> emails) |
NotificationBuilder |
addToGroup(String group) |
NotificationBuilder |
addToGroups(List<String> groups) |
NotificationBuilder |
addToUser(String user) |
NotificationBuilder |
addToUsers(List<String> users) |
List<String> |
getRestrictGroups() |
String |
getTemplate() |
com.google.common.collect.ImmutableMap<String,Object> |
getTemplateParams() |
List<String> |
getToEmails() |
List<String> |
getToGroups() |
List<String> |
getToUsers() |
boolean |
isToAssignee() |
boolean |
isToReporter() |
boolean |
isToVoters() |
boolean |
isToWatchers() |
NotificationBuilder |
setTemplate(String template) |
NotificationBuilder |
setTemplateParams(com.google.common.collect.ImmutableMap<String,Object> params) |
NotificationBuilder |
setToAssignee(boolean toReporter) |
NotificationBuilder |
setToReporter(boolean toReporter) |
NotificationBuilder |
setToVoters(boolean toVoters) |
NotificationBuilder |
setToWatchers(boolean toWatchers) |
NotificationBuilder setTemplate(String template)
String getTemplate()
NotificationBuilder setTemplateParams(com.google.common.collect.ImmutableMap<String,Object> params)
NotificationBuilder setToReporter(boolean toReporter)
boolean isToReporter()
NotificationBuilder setToAssignee(boolean toReporter)
boolean isToAssignee()
NotificationBuilder setToWatchers(boolean toWatchers)
boolean isToWatchers()
NotificationBuilder setToVoters(boolean toVoters)
boolean isToVoters()
NotificationBuilder addToEmail(String email)
NotificationBuilder addToEmails(List<String> emails)
NotificationBuilder addToGroup(String group)
NotificationBuilder addToGroups(List<String> groups)
NotificationBuilder addToUser(String user)
NotificationBuilder addToUsers(List<String> users)
NotificationBuilder addRestrictGroup(String group)
group
- the group to addthis
addRestrictGroups(List)
NotificationBuilder addRestrictGroups(List<String> groups)
groups
- a list of groups to be addedthis
addRestrictGroup(String)
NotificationBuilder addRestrictPermission(Permissions.Permission permission)
permission
- the permission to addthis
addRestrictPermissions(List)
NotificationBuilder addRestrictPermissions(List<Permissions.Permission> permissions)
permissions
- the list of permissions to addthis
addRestrictPermission(Permissions.Permission)
Copyright © 2002-2016 Atlassian. All Rights Reserved.