Class Config

  • All Implemented Interfaces:
    com.google.inject.Module

    public class Config
    extends com.google.inject.AbstractModule
    Integrates user-configuration (such as which WebDriver and JenkinsController to use) into Guice.

    We expect the configuration script to be specified in Groovy (see lib-groovy-guice-binder) and its location be given via "CONFIG" system property or environment variable.

    Author:
    Kohsuke Kawaguchi
    • Constructor Summary

      Constructors 
      Constructor Description
      Config()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void configure()  
      • 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, requestInjection, requestStaticInjection, requireBinding, requireBinding
    • Constructor Detail

      • Config

        public Config()
    • Method Detail

      • configure

        protected void configure()
        Overrides:
        configure in class com.google.inject.AbstractModule