Interface ItemCollectorRegistry
-
- All Known Implementing Classes:
DefaultItemCollectorRegistry
public interface ItemCollectorRegistryGeneric Item Collector Registry interface that should be responsible for managing (memory cache) and retrieving the correspondingItemCollectorfor a givenItemModel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<ItemCollector>getItemCollector(ItemModel itemModel)Returns the correspondingItemCollectorfor a givenItemModel
-
-
-
Method Detail
-
getItemCollector
java.util.Optional<ItemCollector> getItemCollector(ItemModel itemModel)
Returns the correspondingItemCollectorfor a givenItemModel- Parameters:
itemModel- the item model that will be used to retrieve theItemCollectorinstance.- Returns:
- the
Optional<ItemCollector>object for the given item model passed.
-
-