Interface CommandListener

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 CommandListener
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Called when an exception claused the call to abort.
    void
    onUpdate(Command command)
     
  • Method Details

    • onUpdate

      void onUpdate(Command command)
    • onError

      default void onError(Throwable t)
      Called when an exception claused the call to abort.