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 Type
    Method
    Description
    default void
    Registers this terminable with a terminable consumer
    void
    setup(@NotNull TerminableConsumer consumer)
    Performs the tasks to setup this module
  • Method Details

    • setup

      void setup(@NotNull @NotNull TerminableConsumer consumer)
      Performs the tasks to setup this module
      Parameters:
      consumer - the terminable consumer
    • bindModuleWith

      default void bindModuleWith(@NotNull @NotNull TerminableConsumer consumer)
      Registers this terminable with a terminable consumer
      Parameters:
      consumer - the terminable consumer