Package com.bazaarvoice.jolt.chainr.spec
Class ChainrSpec
- java.lang.Object
-
- com.bazaarvoice.jolt.chainr.spec.ChainrSpec
-
public class ChainrSpec extends java.lang.Object
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 Modifier and Type Field Description private java.util.List<ChainrEntry>
chainrEntries
-
Constructor Summary
Constructors Constructor Description ChainrSpec(java.lang.Object chainrSpec)
ChainrSpec(java.lang.Object chainrSpec, java.lang.ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ChainrEntry>
getChainrEntries()
-
-
-
Field Detail
-
chainrEntries
private final java.util.List<ChainrEntry> chainrEntries
-
-
Method Detail
-
getChainrEntries
public java.util.List<ChainrEntry> getChainrEntries()
- Returns:
- the list of ChainrEntries from the initialize file
-
-