Class PrintConfigCommandModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.arakhne.afc.bootique.printconfig.modules.PrintConfigCommandModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class PrintConfigCommandModule extends com.google.inject.AbstractModule
Module for the command that prints out the configuration values.- Since:
- 15.0
- Version:
- 17.0 2020-01-04 14:41:57
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.bootique
- Maven Artifact Id:
- bootique-printconfig
-
-
Constructor Summary
Constructors Constructor Description PrintConfigCommandModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
PrintConfigCommand
providePrintConfigCommand(com.google.inject.Provider<io.bootique.log.BootLogger> bootLogger, com.google.inject.Provider<io.bootique.meta.module.ModulesMetadata> modulesMetadata, com.google.inject.Injector injector)
Provide the command for running the command for printing out the configuration values.-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
configure
protected void configure()
- Overrides:
configure
in classcom.google.inject.AbstractModule
-
providePrintConfigCommand
@Provides public PrintConfigCommand providePrintConfigCommand(com.google.inject.Provider<io.bootique.log.BootLogger> bootLogger, com.google.inject.Provider<io.bootique.meta.module.ModulesMetadata> modulesMetadata, com.google.inject.Injector injector)
Provide the command for running the command for printing out the configuration values.- Parameters:
bootLogger
- the boot logger.modulesMetadata
- the modules' metadata.injector
- the current injector.- Returns:
- the command.
-
-