Class CascadingModelWalker
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.model.extractor.impl.CascadingModelWalker
-
public class CascadingModelWalker extends java.lang.ObjectTraverses the attributes of given model and finds newly added models.
Processes the full tree of models starting with a given model and ending in the bottom-most level of aggregation when no more new models can be found. For every newly found model it invokes the provided callbacks. Also, the callback is notified when a dependency is spotted between particular model and it's children.
-
-
Constructor Summary
Constructors Constructor Description CascadingModelWalker(DefaultModelService modelService, ModelWalkerCallback callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwalkThrough(ModelWrapper toProcess, WrapperRegistry wrapperRegistry)
-
-
-
Constructor Detail
-
CascadingModelWalker
public CascadingModelWalker(DefaultModelService modelService, ModelWalkerCallback callback)
-
-
Method Detail
-
walkThrough
public void walkThrough(ModelWrapper toProcess, WrapperRegistry wrapperRegistry)
-
-