new FilterProviderByMap(map, options)
Uses the passed in map to provide Filters.
The Map should contain two keys: 'pre' and 'post'. The values of each should be
the an array of Filter objects.
WARNING: At this time this object has not been tested in the SkillVC system and exists as a "ToDo"
Parameters:
Name | Type | Description |
---|---|---|
map |
Map | The object structure of the raw Filters to use. |
options |
Object.<String, Object> | Options for processing. See AbstractProviderByMap |
- Implements:
- Source:
- See:
Methods
getPostFilters() → {Array.Filter}
Returns all the post filters (filters that implement executePost())
Returns:
Array of all the loaded post filters
- Type
- Array.Filter
getPreFilters() → {Array.Filter}
Returns all the pre filters (filters that implement executePre())
Returns:
Array of all the loaded pre filters
- Type
- Array.Filter
processItem(items, itemId, map, options)
Parameters:
Name | Type | Description |
---|---|---|
items |
Map | Mapof the items being processed |
itemId |
String | The Id of the item to process |
map |
Object | The map being processed |
options |
Object | Any options that are being passed to the ItemProcessor (can be null) |
- Implements:
- Source:
processItems(items, map, options)
Parameters:
Name | Type | Description |
---|---|---|
items |
Map | Map of the items being processed |
map |
Object | The map being processed |
options |
Object | Any options that are being passed to the ItemProcessor (can be null)\ |
- Implements:
- Source: