Package com.bazaarvoice.jolt
Interface SpecDriven
-
- All Known Implementing Classes:
CardinalityTransform,Defaultr,Modifier,Modifier.Defaultr,Modifier.Definr,Modifier.Overwritr,Removr,Shiftr
public interface SpecDrivenMarker interface for Jolt Transforms that are based off a "spec". Implementations of this interface are expected to have a single arg constructor, which takes anObjectthat is the spec for the constructed instance. Chainr leverages this to instantiate these objects correctly. Additionally, allSpecDrivenimplementations should mark their constructor with theInjectannotation, so that they can be loaded via Dependency Injection systems. All of the "stock" JoltSpecDriventransforms are marked withInject. Ideally, calls to the transform method are expected to be stateless and multi-thread safe.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringROOT_KEY
-
-
-
Field Detail
-
ROOT_KEY
static final java.lang.String ROOT_KEY
- See Also:
- Constant Field Values
-
-