Abstract
Create a new visitor. Must list the valid names of sources. The order of this list implies the priority used for choosing a name when multiple model variants have different names.
Protected
enterDetermine if we are entering a cluster and install cluster state if so.
Protected
getGet the canonical name for a model. Within cluster scope alternate names may be selected, otherwise the name of the model is returned.
Initiate traversal. The class is stateful so this call should not be invoked while traversal is ongoing.
Protected
Abstract
visitThis is the primary callback. It is invoked for every set of variants during traversal. It may optionally return state that is returned from traverse().
the set of equivalent models
call this function to recurse into variant children
Visits multiple model hierarchies simultaneously and builds state.