Interface CommandResultExecutor

  • 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 CommandResultExecutor
    Represents a CommandResult executor to define how to execute the CommandResult after executing a special CommandExecutor. This is a functional interface whose functional method is execute(CommandResult).
    • Method Detail

      • execute

        void execute​(CommandResult commandResult)
        Used to have response to CommandResult after executing a special CommandExecutor
        Parameters:
        commandResult - the CommandResult after executing a special CommandExecutor