Interface CommandHandlerVisitor


public interface CommandHandlerVisitor
Represents a visitor for a CommandHandler. This provides a convenient way of performing additional registrations or hooks on a command handler.

To accept a visitor, use CommandHandler.accept(CommandHandlerVisitor).

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    visit(@NotNull CommandHandler handler)
    Visits the given command handler
  • Method Details

    • visit

      void visit(@NotNull @NotNull CommandHandler handler)
      Visits the given command handler
      Parameters:
      handler - Command handler to visit.