Interface DataProviderRegistry

  • All Known Implementing Classes:
    DataProviderRegistryImpl

    public interface DataProviderRegistry
    Data Provider registry for customizable data providers
    • Method Detail

      • forContainerValue

        default <T extends ContainerableContainerValueDataProviderFactory<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 Type
        viewConfig - View configuration
        defaultProvider - 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 GuiListDataProviderTypeContainerValueDataProviderFactory<T,​C> forContainerValue​(Class<T> dataType,
                                                                                                                                         Class<C> configurationType)
        Type Parameters:
        T - Data Type
        C - Configuration Type
        Parameters:
        dataType - Data Type
        configurationType - Configuration Type
        Returns:
        Container Value Data Provider Factory for specified type combination, or null if no provider factory matches