public class ChainrSpec
extends java.lang.Object
[ { "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.
Modifier and Type | Field and Description |
---|---|
private java.util.List<ChainrEntry> |
chainrEntries |
Constructor and Description |
---|
ChainrSpec(java.lang.Object chainrSpec) |
ChainrSpec(java.lang.Object chainrSpec,
java.lang.ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ChainrEntry> |
getChainrEntries() |
private final java.util.List<ChainrEntry> chainrEntries
public ChainrSpec(java.lang.Object chainrSpec)
chainrSpec
- Plain vanilla hydrated JSON representation of a Chainr spec .json file.public ChainrSpec(java.lang.Object chainrSpec, java.lang.ClassLoader classLoader)
public java.util.List<ChainrEntry> getChainrEntries()