public class BiggestSubTreeDispatcher extends java.lang.Object implements Dispatcher
The steps of the current algorithm are the following:
Constructor and Description |
---|
BiggestSubTreeDispatcher(ResolverRepository resolverRepository)
Constructor, which requires an Implementation module on which this processor will act on.
|
Modifier and Type | Method and Description |
---|---|
ResolvingContext |
processTree(Node rootNode,
ResolvingContext oldContext,
OptionRegistry<ResolvingOption> processingOptions)
process the tree, starting from the given node and resolve as many nodes as possible.
|
public BiggestSubTreeDispatcher(ResolverRepository resolverRepository)
resolverRepository
- the repository that shall contain all available resolvers.public ResolvingContext processTree(Node rootNode, ResolvingContext oldContext, OptionRegistry<ResolvingOption> processingOptions)
Dispatcher
processTree
in interface Dispatcher
rootNode
- the node which shall be considered as root node of the tree to processoldContext
- the current state of the context, which can be used by resolvers to look up some values.