Class ContextSearchTree
- java.lang.Object
-
- com.hybris.cockpitng.core.config.impl.model.DefaultContextSearchNode
-
- com.hybris.cockpitng.core.config.impl.model.ContextSearchTree
-
- All Implemented Interfaces:
ContextSearchNode
- Direct Known Subclasses:
ContextSearchProgress
public class ContextSearchTree extends DefaultContextSearchNode
Configuration context search tree.Searching of contexts is performed by traversing through context tree in regards to
merge-byattributes, obligatory merge attributes and/or appropriateCockpitConfigurationContextStrategy. Each step down the tree means that any contexts found are a little bit less relevant to actual request. It is represented by search level and results in lower priority during merge process - a context with lower priority (found on lower level) is merged into a context with higher priority (found on higher level).
-
-
Field Summary
-
Fields inherited from interface com.hybris.cockpitng.core.config.impl.model.ContextSearchNode
DEC_RELEVANCE_COMPARATOR, INC_RELEVANCE_COMPARATOR
-
-
Constructor Summary
Constructors Constructor Description ContextSearchTree(java.util.Collection<java.lang.String> relevanceZones)Relevance zones for this search
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetParentImmediately(ContextSearchNode parent)-
Methods inherited from class com.hybris.cockpitng.core.config.impl.model.DefaultContextSearchNode
addChild, addChildImmediately, addNodeResult, commit, countNotEmptyRelevance, getChildren, getLevel, getNodeResult, getNotEmptyRelevance, getParent, getRelevance, getResult, getResultChildren, getResultChildren, getSearchNeedle, isCommitted, isEgalitarian, removeChild, removeChildImmediately, setEgalitarian, setParent, toString, toTreeElement, toTreeElementAttribute, toTreeElementAttributes, toTreeElementEnd, toXML
-
-
-
-
Method Detail
-
setParentImmediately
protected void setParentImmediately(ContextSearchNode parent)
- Overrides:
setParentImmediatelyin classDefaultContextSearchNode
-
-