public class DataRecipeBuilder extends Object
DataRecipe
.Constructor and Description |
---|
DataRecipeBuilder()
New builder.
|
Modifier and Type | Method and Description |
---|---|
void |
addAll(DataRecipeBuilder recipe)
Add all elements from another builder.
|
void |
addCollector(Collector<?> collector,
Map<String,ValueCache> caches)
Add a collector and the channel/caches this collector will get values from.
|
DataRecipe |
build()
Builds the recipe.
|
public void addCollector(Collector<?> collector, Map<String,ValueCache> caches)
collector
- a collectorcaches
- the channel/cachespublic void addAll(DataRecipeBuilder recipe)
recipe
- another recipsepublic DataRecipe build()
Copyright © 2012. All Rights Reserved.