Interface MenuBuilder

All Known Implementing Classes:
MenuBuilder.MenuBuilderImpl
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 MenuBuilder
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Menu
    createMenu(@Nullable String name)
    Creates a Menu with a given name.
  • Method Details

    • createMenu

      @NotNull @NotNull Menu createMenu(@Nullable @Nullable String name)
      Creates a Menu with a given name.
      Parameters:
      name - The name of the Menu to create.
      Returns:
      The created Menu.