Package org.teleight.teleightbots.menu
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.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription@NotNull MenucreateMenu(@Nullable String name) Creates a Menu with a given name.
-
Method Details
-
createMenu
Creates a Menu with a given name.- Parameters:
name- The name of the Menu to create.- Returns:
- The created Menu.
-