Interface TreeHelpVisitor<S extends Source>

Type Parameters:
S - the source type
All Known Implementing Classes:
StandardTreeHelpVisitor

public interface TreeHelpVisitor<S extends Source>
Provides help data by visiting the command tree, node by node. Responsible ONLY for data retrieval and filtering, NOT rendering.
  • Method Details

    • visit

      HelpEntryList<S> visit(Command<S> tree, HelpQuery<S> query)
      Queries help entries based on the given query parameters.
      Parameters:
      tree - the command tree to query
      query - the query parameters
      Returns:
      filtered help entries
    • defaultProvider

      static <S extends Source> TreeHelpVisitor<S> defaultProvider()