You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.server.

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 Summary

      All Methods
      Modifier and Type Method Description
      void execute()

      Runs the given command.

    • Method Detail

      • execute

        void execute()

        Runs the given command.