Class DefinitionCollectingModelWalker

    • Method Detail

      • getDefinitions

        @NonNull
        public Collection<? extends IDefinitiongetDefinitions()
        Return the collection of definitions matching the configured filter.
        Returns:
        the collection of definitions
      • visit

        protected void visit​(IFlagDefinition def,
                             Void data)
        Description copied from class: ModelWalker
        Called when the provided definition is walked. This can be overridden by child classes to enable processing of the visited definition.
        Specified by:
        visit in class ModelWalker<Void>
        Parameters:
        def - the definition that is visited
        data - additional state information to operate on
      • visit

        protected boolean visit​(IFieldDefinition def,
                                Void data)
        Description copied from class: ModelWalker
        Called when the provided definition is walked. This can be overridden by child classes to enable processing of the visited definition.
        Overrides:
        visit in class ModelWalker<Void>
        Parameters:
        def - the definition that is visited
        data - additional state information to operate on
        Returns:
        true if child instances are to be walked, or false otherwise
      • visit

        protected boolean visit​(IAssemblyDefinition def,
                                Void data)
        Description copied from class: ModelWalker
        Called when the provided definition is walked. This can be overridden by child classes to enable processing of the visited definition.
        Overrides:
        visit in class ModelWalker<Void>
        Parameters:
        def - the definition that is visited
        data - additional state information to operate on
        Returns:
        true if child instances are to be walked, or false otherwise