public PaasHandler makePaasHandler(String pathToDB) {
    switch (this.type) {
      case saucelabs:
        return new SauceLabsPaasHandler(pathToDB, this);
      case browserstack:
        return new BrowserStackPaasHandler(pathToDB, this);
      case testingbot:
        return new TestingBotPaasHandler(pathToDB, this);
      default:
        return null;
    }
  }
Make paas handler.

@param pathToDB the path to DB

@return the paas handler
KITE-Framework/src/main/java/org/webrtc/kite/config/paas/Paas.java