Interface PublishAlertAction
- All Superinterfaces:
AlertRuleAction
Adds an alert to the LVAlerts table
- Since:
- 2.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.streambase.liveview.client.alert.AlertRuleAction
AlertRuleAction.ActionType
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the alertKey property.Gets the value of the alertRecipient property.Gets the map of fieldSubstitutions.Gets the value of the messageTemplate property.void
setAlertKey
(String value) Sets the value of the alertKey property.void
setAlertRecipient
(String value) Sets the value of the alertRecipient property.void
setMessageTemplate
(String value) Sets the value of the messageTemplate property.Methods inherited from interface com.streambase.liveview.client.alert.AlertRuleAction
getActionType, getDescription, isEnabled, setDescription, setEnabled
-
Method Details
-
getMessageTemplate
String getMessageTemplate()Gets the value of the messageTemplate property.- Returns:
- possible object is
String
-
setMessageTemplate
Sets the value of the messageTemplate property.- Parameters:
value
- allowed object isString
-
getFieldSubstitutions
Gets the map of fieldSubstitutions. Note that this is the live Map, not a checkpoint, so you can add, remove, and modify the elements in the map and these changes will be saved.- Returns:
- possible object is
Map
-
getAlertKey
String getAlertKey()Gets the value of the alertKey property.- Returns:
- possible object is
String
-
setAlertKey
Sets the value of the alertKey property.- Parameters:
value
- allowed object isString
-
getAlertRecipient
String getAlertRecipient()Gets the value of the alertRecipient property. This will never be null, because it defaults to "*" if it has not been set.- Returns:
- possible object is
String
-
setAlertRecipient
Sets the value of the alertRecipient property.- Parameters:
value
- allowed object isString
-