Package com.bazaarvoice.jolt
Interface SpecDriven
-
- All Known Implementing Classes:
CardinalityTransform
,Defaultr
,Modifier
,Modifier.Defaultr
,Modifier.Definr
,Modifier.Overwritr
,Removr
,Shiftr
public interface SpecDriven
Marker interface for Jolt Transforms that are based off a "spec". Implementations of this interface are expected to have a single arg constructor, which takes anObject
that is the spec for the constructed instance. Chainr leverages this to instantiate these objects correctly. Additionally, allSpecDriven
implementations should mark their constructor with theInject
annotation, so that they can be loaded via Dependency Injection systems. All of the "stock" JoltSpecDriven
transforms 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.String
ROOT_KEY
-
-
-
Field Detail
-
ROOT_KEY
static final java.lang.String ROOT_KEY
- See Also:
- Constant Field Values
-
-