Package com.bazaarvoice.jolt.chainr
Class ChainrBuilder
java.lang.Object
com.bazaarvoice.jolt.chainr.ChainrBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ChainrInstantiator
private final Object
private ClassLoader
-
Constructor Summary
ConstructorsConstructorDescriptionChainrBuilder
(Object chainrSpecObj) Initialize a Chainr to run a list of Transforms. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
loader
(ChainrInstantiator loader) Set a ChainrInstantiator to use when instantiating Transform Objects.withClassLoader
(ClassLoader classLoader)
-
Field Details
-
chainrSpecObj
-
chainrInstantiator
-
classLoader
-
-
Constructor Details
-
ChainrBuilder
Initialize a Chainr to run a list of Transforms. This is the constructor most "production" usages of Chainr should use.- Parameters:
chainrSpecObj
- List of transforms to run
-
-
Method Details
-
loader
Set a ChainrInstantiator to use when instantiating Transform Objects. If one is not set, defaults to DefaultChainrInstantiator;- Parameters:
loader
- ChainrInstantiator to use load Transforms
-
withClassLoader
-
build
-