Row sanity check action that emails admins a consolidated report of every row that matched a configured rule. Registered under the id "sanity-check-notify-admin-row" as one of the standard row sanity check handlers an admin can add to a table uploader. For each row that satisfies the configured expression an HTML fragment describing the rule and the row's values is generated and buffered on the import context; at the end of each batch the buffered fragments are written to per-tenant content storage rather than held in memory. Once the whole file has finished processing, the fragments from every batch are read back, concatenated into one HTML message with a link to the job's status page, and sent to admins via AdminNotificationManager.
Extends: RowSanityCheckTableActionHandler
Properties
| Property | Returns | Description |
|---|---|---|
| id | String | Identifier this action is registered under, used to select it when configuring a table uploader. |
| title | String | Display title shown for this action in the table uploader admin UI. |
Inherited from RowSanityCheckTableActionHandler
Properties
| Property | Returns | Description |
|---|---|---|
| fields | List<ExtraField> | Configuration fields shown when an admin adds a row sanity check action to a table uploader: the rule expression to evaluate and a label describing what the rule represents, plus any fields added by the concrete subclass. |
Methods
getFields()
Returns: List<ExtraField>
Configuration fields shown when an admin adds a row sanity check action to a table uploader: the rule expression to evaluate and a label describing what the rule represents, plus any fields added by the concrete subclass.
Methods
getId()
Returns: String
Identifier this action is registered under, used to select it when configuring a table uploader.
getTitle()
Returns: String
Display title shown for this action in the table uploader admin UI.