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 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)
DataLoaderRegistry
otherRegistry
- the previous DataLoaderRegistry
public DataLoaderRegistry build()
DataLoaderRegistry