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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a module.Collection<Class<? extends com.google.inject.Module>>Returns the classes of all modules.voidRemoves 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:ModuleListReturns the classes of all modules.- Specified by:
getModulesin interfaceModuleList- Returns:
- the classes of all modules
-