Interface SnIndexerItemSourceFactory
- All Known Implementing Classes:
DefaultSnIndexerItemSourceFactory
public interface SnIndexerItemSourceFactory
Implementations of this interface are responsible for creating instances of
SnIndexerItemSource.-
Method Summary
Modifier and TypeMethodDescription<T extends AbstractSnIndexerItemSourceModel,R extends SnIndexerItemSource>
RcreateItemSource(T itemSourceModel, Map<String, Object> parameters) Creates a new instance ofSnIndexerItemSource.
-
Method Details
-
createItemSource
<T extends AbstractSnIndexerItemSourceModel,R extends SnIndexerItemSource> R createItemSource(T itemSourceModel, Map<String, Object> parameters) throws SnIndexerExceptionCreates a new instance ofSnIndexerItemSource.- Type Parameters:
T- - the type of indexer item source modelR- - the type of indexer item source data- Parameters:
itemSourceModel- - the item source modelparameters- - the parameters- Returns:
- the new instance of
SnIndexerItemSource - Throws:
SnIndexerException- if an error occurs
-