Class ModuleListUser

java.lang.Object
org.opt4j.config.ModuleListUser
All Implemented Interfaces:
ModuleList

public class ModuleListUser extends Object implements ModuleList
The ModuleListUser is a ModuleList for user defined modules.
  • Field Details

    • set

      protected Set<Class<? extends com.google.inject.Module>> set
  • Constructor Details

    • ModuleListUser

      public ModuleListUser()
  • Method Details

    • add

      public void add(Class<? extends com.google.inject.Module> module)
      Adds a module.
      Parameters:
      module - the module to be added
    • remove

      public void remove(Class<? extends com.google.inject.Module> module)
      Removes a module.
      Parameters:
      module - the module to be removed
    • getModules

      public Collection<Class<? extends com.google.inject.Module>> getModules()
      Description copied from interface: ModuleList
      Returns the classes of all modules.
      Specified by:
      getModules in interface ModuleList
      Returns:
      the classes of all modules