Package com.google.gerrit.server.config

Examples of com.google.gerrit.server.config.AllProjectsName


              bind(PersonIdent.class) //
                  .annotatedWith(GerritPersonIdent.class) //
                  .toProvider(GerritPersonIdentProvider.class);

              bind(AllProjectsName.class)
                  .toInstance(new AllProjectsName("All-Projects"));

              bind(GitRepositoryManager.class) //
                  .to(LocalDiskRepositoryManager.class);

              bind(String.class) //
View Full Code Here


        try {
          new SchemaCreator(
              new File("."),
              schemaVersion,
              null,
              new AllProjectsName("Test-Projects"),
              new PersonIdent("name", "email@site")).create(c);
        } catch (IOException e) {
          throw new OrmException("Cannot create in-memory database", e);
        } catch (ConfigInvalidException e) {
          throw new OrmException("Cannot create in-memory database", e);
View Full Code Here

        bind(PersonIdent.class) //
            .annotatedWith(GerritPersonIdent.class) //
            .toProvider(GerritPersonIdentProvider.class);

        bind(AllProjectsName.class)
            .toInstance(new AllProjectsName("All-Projects"));

        bind(GitRepositoryManager.class) //
            .to(LocalDiskRepositoryManager.class);

        bind(String.class) //
View Full Code Here

TOP

Related Classes of com.google.gerrit.server.config.AllProjectsName

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.