org.epics.pvmanager
Class DataRecipeBuilder

java.lang.Object
  extended by org.epics.pvmanager.DataRecipeBuilder

public class DataRecipeBuilder
extends java.lang.Object

Builder class for DataRecipe.

Author:
carcassi

Constructor Summary
DataRecipeBuilder()
          New builder.
 
Method Summary
 void addAll(DataRecipeBuilder recipe)
          Add all elements from another builder.
 void addCollector(Collector<?> collector, java.util.Map<java.lang.String,ValueCache> caches)
          Add a collector and the channel/caches this collector will get values from.
 DataRecipe build()
          Builds the recipe.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataRecipeBuilder

public DataRecipeBuilder()
New builder.

Method Detail

addCollector

public void addCollector(Collector<?> collector,
                         java.util.Map<java.lang.String,ValueCache> caches)
Add a collector and the channel/caches this collector will get values from.

Parameters:
collector - a collector
caches - the channel/caches

addAll

public void addAll(DataRecipeBuilder recipe)
Add all elements from another builder.

Parameters:
recipe - another recipse

build

public DataRecipe build()
Builds the recipe.

Returns:
a new recipe