com.salesforce.android.chat.core.model.SensitiveDataRule |
Represents a text scrubbing directive that is used to replace or remove text that occurs in outgoing chat messages should they match the provided Regular Expression pattern.
Sensitive Data Rules are configurable for your Salesforce Organization and apply to all LiveAgent deployments.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
@interface | SensitiveDataRule.Action |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ACTION_REMOVE | ||||||||||
String | ACTION_REPLACE |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
getAction()
The action to perform when the text in a chat message matches the given pattern.
| ||||||||||
abstract String |
getId()
The Salesforce Object ID for the Sensitive Data Rule.
| ||||||||||
abstract String |
getName()
The name of the Sensitive Data Rule, as configured in your Salesforce Organization.
| ||||||||||
abstract Pattern[] |
getPatterns()
The Regular Expression patterns used to match sensitive data within each chat message.
| ||||||||||
abstract String |
getReplacement()
The optional replacement String to be used in place of matching text when the rule's Action
is set to
ACTION_REPLACE . |
The action to perform when the text in a chat message matches the given pattern.
ACTION_REMOVE
or ACTION_REPLACE
The Salesforce Object ID for the Sensitive Data Rule.
The name of the Sensitive Data Rule, as configured in your Salesforce Organization.
The Regular Expression patterns used to match sensitive data within each chat message.
Pattern
instances, as configured in your Salesforce Organization
The optional replacement String to be used in place of matching text when the rule's Action
is set to ACTION_REPLACE
. This String may be a regex group replacement.