Interface for Item Processor used by providers
- Source:
Methods
processItem(items, itemId, source, options)
Processes the specific item and returns the result
Parameters:
Name | Type | Description |
---|---|---|
items |
Map | Map of the items being processed |
itemId |
String | The Id of the item to process |
source |
String | Object | The source being processed (can be a map or file depending on implementation) |
options |
Object | Any options that are being passed to the ItemProcessor (can be null) |
- Source:
processItems(items, source, options)
Processes multiple items at once
Parameters:
Name | Type | Description |
---|---|---|
items |
Map | Map of the items being processed |
source |
String | Object | The source being processed (can be a map or file depending on implementation) |
options |
Object | Any options that are being passed to the ItemProcessor (can be null) |
- Source:
Type Definitions
processorResult
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
itemId |
Object.<string, string> | : item |
item |
Object.<string, Object> | : The item that was loaded |
- Source: