Interface TerminableModule
- All Known Implementing Classes:
MenuManager
public interface TerminableModule
A terminable module is a class which manipulates and constructs a number of
Terminables.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidbindModuleWith(@NotNull TerminableConsumer consumer) Registers this terminable with a terminable consumervoidsetup(@NotNull TerminableConsumer consumer) Performs the tasks to setup this module
-
Method Details
-
setup
Performs the tasks to setup this module- Parameters:
consumer- the terminable consumer
-
bindModuleWith
Registers this terminable with a terminable consumer- Parameters:
consumer- the terminable consumer
-