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

    Modifier and Type
    Method
    Description
    void
    Runs the given command.
  • Method Details

    • execute

      void execute()
      Runs the given command.