protected void configure()

in src/main/java/com/googlesource/gerrit/plugins/its/base/ItsHookModule.java [65:85]


  protected void configure() {
    bind(ProjectConfigEntry.class)
        .annotatedWith(Exports.named("enabled"))
        .toInstance(new ItsHookEnabledConfigEntry(pluginName, pluginCfgFactory));
    bind(ItsConfig.class);
    DynamicSet.bind(binder(), CommitValidationListener.class).to(ItsValidateComment.class);
    DynamicSet.bind(binder(), EventListener.class).to(ActionController.class);
    factory(ActionRequest.Factory.class);
    factory(Condition.Factory.class);
    factory(Rule.Factory.class);
    factory(AddComment.Factory.class);
    factory(AddSoyComment.Factory.class);
    factory(AddStandardComment.Factory.class);
    factory(CreateVersionFromProperty.Factory.class);
    factory(LogEvent.Factory.class);
    factory(AddPropertyToField.Factory.class);
    DynamicMap.mapOf(binder(), CustomAction.class);
    install(ItsRulesProjectCacheImpl.module());
    factory(FireEventOnCommits.Factory.class);
    factory(SinceLastTagCommitCollector.Factory.class);
  }