Package org.opt4j.config
Class ModuleListUser
java.lang.Object
org.opt4j.config.ModuleListUser
- All Implemented Interfaces:
ModuleList
The
ModuleListUser
is a ModuleList
for user defined modules.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a module.Collection<Class<? extends com.google.inject.Module>>
Returns the classes of all modules.void
Removes a module.
-
Field Details
-
set
-
-
Constructor Details
-
ModuleListUser
public ModuleListUser()
-
-
Method Details
-
add
Adds a module.- Parameters:
module
- the module to be added
-
remove
Removes a module.- Parameters:
module
- the module to be removed
-
getModules
Description copied from interface:ModuleList
Returns the classes of all modules.- Specified by:
getModules
in interfaceModuleList
- Returns:
- the classes of all modules
-