Package org.platformlayer.service.gerrit.model

Examples of org.platformlayer.service.gerrit.model.GerritDatabase


public class GerritDatabaseTemplate {

  private static final Logger log = LoggerFactory.getLogger(GerritDatabaseTemplate.class);

  public GerritDatabase getModel() {
    GerritDatabase model = OpsContext.get().getInstance(GerritDatabase.class);
    return model;
  }
View Full Code Here


    // return Secret.build("platformlayer-password");
  }

  public GerritDatabase getDatabase() throws OpsException {
    PlatformLayerKey databaseKey = getDatabaseKey();
    GerritDatabase database = platformLayer.getItem(databaseKey, GerritDatabase.class);
    return database;
  }
View Full Code Here

TOP

Related Classes of org.platformlayer.service.gerrit.model.GerritDatabase

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.