public static class DataLoaderRegistry.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DataLoaderRegistry |
build() |
DataLoaderRegistry.Builder |
register(java.lang.String key,
DataLoader<?,?> dataLoader)
This will register a new dataloader
|
DataLoaderRegistry.Builder |
registerAll(DataLoaderRegistry otherRegistry)
This will combine together the data loaders in this builder with the ones
from a previous
DataLoaderRegistry |
public DataLoaderRegistry.Builder register(java.lang.String key, DataLoader<?,?> dataLoader)
key - the key to put the data loader underdataLoader - the data loader to registerpublic DataLoaderRegistry.Builder registerAll(DataLoaderRegistry otherRegistry)
DataLoaderRegistryotherRegistry - the previous DataLoaderRegistrypublic DataLoaderRegistry build()
DataLoaderRegistry