Row sanity check action that aborts the entire import batch when its configured rule matches a row. Registered under the id "sanity-check-fail-batch" as one of the standard row sanity check handlers an admin can add to a table uploader. The rule expression and the rows it is tested against are provided by the RowSanityCheckTableActionHandler base class; when a row satisfies the rule this handler throws a RuntimeException, which stops processing of the whole batch rather than skipping just the offending row.

Extends: RowSanityCheckTableActionHandler


Properties

PropertyReturnsDescription
idStringIdentifier this action is registered under, used to select it when configuring a table uploader.
titleStringDisplay title shown for this action in the table uploader admin UI.

Inherited from RowSanityCheckTableActionHandler

Properties

PropertyReturnsDescription
fieldsList<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.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.