Upload sanity check action that emails admins when a configured rule matches the aggregate results of a completed import. Registered under the id "sanity-check-notify-admin-upload" as the standard upload sanity check handler an admin can add to a table uploader. The configured expression is evaluated once the whole file has finished processing, against counts such as created, updated, deleted and error rows plus any extended stat fields defined by the table uploader. When the rule matches, an HTML message summarising the stats and a link to the job's status page is sent to admins via AdminNotificationManager.
Extends: UploadSanityCheckTableActionHandler
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 UploadSanityCheckTableActionHandler
Properties
| Property | Returns | Description |
|---|---|---|
| fields | List<ExtraField> | Configuration fields shown when an admin adds an upload 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 an upload 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.