Package revxrsal.commands
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 TypeMethodDescriptionvoid
visit
(@NotNull CommandHandler handler) Visits the given command handler
-
Method Details
-
visit
Visits the given command handler- Parameters:
handler
- Command handler to visit.
-