Interface Filter
Version note: this reference describes Nanook 1.x (JavaScript). Since 2.0 (March 2026) Nanook is TypeScript/ESM; Processor is now TestcaseProcessor, TDGServiceRegistry is DataGeneratorRegistry. The current reference is on this site: API reference, 3.x rows, generated from the repository.
FilterProcessorInterface
A filter processor is used to filter Test cases in a decision table. A filter is registered with its name at the processor. In the decision table the filter name is referenced. Then the result is filtered with the given filter processor
Kind: global class
filterProcessorInterface.name
returns the name of this filter processor
Kind: instance property of FilterProcessorInterface
filterProcessorInterface.name
set a new name to this processor
Kind: instance property of FilterProcessorInterface
filterProcessorInterface.filter(tags, expression) ⇒ boolean
This method filters the tags with the given expression
Kind: instance method of FilterProcessorInterface
Returns: boolean - true returns a true value if the filter processor
could filter a result
| Param | Type | Description |
|---|---|---|
| tags | array |
An array with all the tags on the test case |
| expression | string |
An expression for this filter processor |