Class ModifierCompositeSpec
java.lang.Object
com.bazaarvoice.jolt.modifier.spec.ModifierSpec
com.bazaarvoice.jolt.modifier.spec.ModifierCompositeSpec
- All Implemented Interfaces:
BaseSpec,OrderedCompositeSpec
Composite spec is non-leaf level spec that contains one or many child specs and processes
them based on a pre-determined execution strategy
-
Field Summary
Fields inherited from class com.bazaarvoice.jolt.modifier.spec.ModifierSpec
checkValue, opMode, pathElement, TRAVERSAL_BUILDER -
Constructor Summary
ConstructorsConstructorDescriptionModifierCompositeSpec(String key, Map<String, Object> spec, OpMode opMode, TemplatrSpecBuilder specBuilder) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyElement(String inputKey, Optional<Object> inputOptional, MatchedElement thisLevel, WalkedPath walkedPath, Map<String, Object> context) Templatr specific override that is used in BaseSpec#apply(...)Methods inherited from class com.bazaarvoice.jolt.modifier.spec.ModifierSpec
apply, getPathElement, setDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.bazaarvoice.jolt.common.spec.BaseSpec
apply, getPathElement
-
Constructor Details
-
ModifierCompositeSpec
-
-
Method Details
-
applyElement
public void applyElement(String inputKey, Optional<Object> inputOptional, MatchedElement thisLevel, WalkedPath walkedPath, Map<String, Object> context) Description copied from class:ModifierSpecTemplatr specific override that is used in BaseSpec#apply(...) The name is changed for easy identification during debugging- Specified by:
applyElementin classModifierSpec
-
getLiteralChildren
- Specified by:
getLiteralChildrenin interfaceOrderedCompositeSpec
-
getComputedChildren
- Specified by:
getComputedChildrenin interfaceOrderedCompositeSpec
-
determineExecutionStrategy
- Specified by:
determineExecutionStrategyin interfaceOrderedCompositeSpec
-