Interface Command

  • All Superinterfaces:
    Serializable
    All Known Subinterfaces:
    ErrorHandlingCommand
    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 Command
    extends Serializable
    A generic command interface meant to be used for passing lambdas around.
    Since:
    1.0
    Author:
    Vaadin Ltd
    • Method Detail

      • execute

        void execute()
        Runs the given command.