51Degrees Pipeline Node.js  4.1

51Degrees Pipeline for Node.js

BasicListEvidenceKeyFilter Class Reference

Detailed Description

An instance of evidenceKeyFilter that uses a simple array of keys Evidence not using these keys is filtered out.

Inheritance diagram for BasicListEvidenceKeyFilter:

[legend]

Collaboration diagram for BasicListEvidenceKeyFilter:

[legend]

Public Member Functions

 constructor (list)
constructor for basicListEvidenceKeyFilter More...
 filterEvidenceKey (key)
Check if a specific evidence key should be filtered. More...

Public Member Functions inherited from EvidenceKeyFilter

 filterEvidence (evidenceKeyObject)
Filter an evidence object. More...
 filterEvidenceKey (key)
Internal filterEvidenceKey function overriden by specific filters to keep or filter out a piece of evidence. More...

Member Function Documentation

◆ constructor()

BasicListEvidenceKeyFilter::constructor (   list )
inline

constructor for basicListEvidenceKeyFilter

Parameters
{Array} - list items to keep when filtering

◆ filterEvidenceKey()

BasicListEvidenceKeyFilter::filterEvidenceKey (   key )
inline

Check if a specific evidence key should be filtered.

Parameters
{string} - key to check in the filter
Returns
{boolean} is this key in the filter's keys list?