public class RuleEmailAction extends RuleAction
| Constructor and Description |
|---|
RuleEmailAction() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
customEmails()
Get the list of administrator's custom email addresses to notify of the activation of the alert.
|
Boolean |
sendToServiceOwners()
Get whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.
|
RuleEmailAction |
withCustomEmails(List<String> customEmails)
Set the list of administrator's custom email addresses to notify of the activation of the alert.
|
RuleEmailAction |
withSendToServiceOwners(Boolean sendToServiceOwners)
Set whether the administrators (service and co-administrators) of the service should be notified when the alert is activated.
|
public Boolean sendToServiceOwners()
public RuleEmailAction withSendToServiceOwners(Boolean sendToServiceOwners)
sendToServiceOwners - the sendToServiceOwners value to setpublic List<String> customEmails()
public RuleEmailAction withCustomEmails(List<String> customEmails)
customEmails - the customEmails value to setCopyright © 2019. All rights reserved.