Class Config

java.lang.Object
com.google.inject.AbstractModule
org.jenkinsci.test.acceptance.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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Config

      public Config()
  • Method Details

    • configure

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