Package com.bazaarvoice.jolt.chainr.spec
Class ChainrSpec
java.lang.Object
com.bazaarvoice.jolt.chainr.spec.ChainrSpec
Helper class that encapsulates the Chainr spec's list.
For reference : a Chainr spec should be an array of objects in order that look like this:
[ { "operation": "[operation-name]", // stuff that the specific transform needs go here }, ... ]This class represents the Array, while the ChainrEntry class encompass the individual elements of the array.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChainrSpec
(Object chainrSpec) ChainrSpec
(Object chainrSpec, ClassLoader classLoader) -
Method Summary
-
Field Details
-
chainrEntries
-
-
Constructor Details
-
ChainrSpec
- Parameters:
chainrSpec
- Plain vanilla hydrated JSON representation of a Chainr spec .json file.
-
ChainrSpec
-
-
Method Details
-
getChainrEntries
- Returns:
- the list of ChainrEntries from the initialize file
-