Class 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
    • 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
    • Constructor Detail

      • PrintConfigCommandModule

        public PrintConfigCommandModule()
    • Method Detail

      • configure

        protected void configure()
        Overrides:
        configure in class com.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.