protected void configure()

in src/main/java/com/googlesource/gerrit/plugins/download/scheme/SchemeModule.java [23:35]


  protected void configure() {
    bind(DownloadScheme.class)
        .annotatedWith(Exports.named("anonymous http"))
        .to(AnonymousHttpScheme.class);

    bind(DownloadScheme.class).annotatedWith(Exports.named("git")).to(GitScheme.class);

    bind(DownloadScheme.class).annotatedWith(Exports.named("http")).to(HttpScheme.class);

    bind(DownloadScheme.class).annotatedWith(Exports.named("repo")).to(RepoScheme.class);

    bind(DownloadScheme.class).annotatedWith(Exports.named("ssh")).to(SshScheme.class);
  }