| Package | Description |
|---|---|
| org.sonar.api.notifications | |
| org.sonar.plugins.emailnotifications.api |
| Modifier and Type | Method and Description |
|---|---|
Notification |
Notification.setDefaultMessage(String value)
When creating a new notification, it is strongly advised to give a default message that can be
used by channels that don't want to specifically format messages for different notification types.
|
Notification |
Notification.setFieldValue(String field,
String value)
Adds a field (kind of property) to the notification
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
NotificationChannel.deliver(Notification notification,
String userlogin)
Implements the delivery of the given notification to the given user.
|
| Modifier and Type | Method and Description |
|---|---|
abstract EmailMessage |
EmailTemplate.format(Notification notification) |
Copyright © 2009–2017 SonarSource. All rights reserved.