Interface DataProviderRegistry
-
- All Known Implementing Classes:
DataProviderRegistryImpl
public interface DataProviderRegistry
Data Provider registry for customizable data providers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <T extends Containerable>
ContainerValueDataProviderFactory<T,?>forContainerValue(Class<T> dataType, GuiObjectListViewType viewConfig, Class<? extends GuiListDataProviderType> defaultProvider)
Returns provider factory for supplied data type and configuraitno.<T extends Containerable,C extends GuiListDataProviderType>
ContainerValueDataProviderFactory<T,C>forContainerValue(Class<T> dataType, Class<C> configurationType)
-
-
-
Method Detail
-
forContainerValue
default <T extends Containerable> ContainerValueDataProviderFactory<T,?> forContainerValue(Class<T> dataType, GuiObjectListViewType viewConfig, Class<? extends GuiListDataProviderType> defaultProvider)
Returns provider factory for supplied data type and configuraitno.- Type Parameters:
T
- Data Type- Parameters:
dataType
- Data TypeviewConfig
- View configurationdefaultProvider
- Configuration type of default provider- Returns:
- null, if no provider matches arguments, if viewport configuration does contain concrete provider configuration returns that provider, otherwise returns default provider.
-
forContainerValue
<T extends Containerable,C extends GuiListDataProviderType> ContainerValueDataProviderFactory<T,C> forContainerValue(Class<T> dataType, Class<C> configurationType)
- Type Parameters:
T
- Data TypeC
- Configuration Type- Parameters:
dataType
- Data TypeconfigurationType
- Configuration Type- Returns:
- Container Value Data Provider Factory for specified type combination, or null if no provider factory matches
-
-