Interface CommandExecutor

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CommandExecutor
Functional interface for a command executor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(@NotNull User sender, @NotNull CommandContext context)
    Executes the command.
  • Method Details

    • execute

      void execute(@NotNull @NotNull User sender, @NotNull @NotNull CommandContext context)
      Executes the command.
      Parameters:
      sender - the User who initiated the command
      context - the CommandContext associated with the command