code: public synchronized void writeJSON(String outputDirectory, boolean bForceWrite) {
          logger.entering(new Object[] { outputDirectory, bForceWrite });
  
          long currentTime = System.currentTimeMillis();
          if (!bForceWrite && (currentTime - previousTime < ONE_MINUTE)) {
              return;
          }
          previousTime = currentTime;
  
          parseCompletedTest();
  
          generateReports(outputDirectory);
  
          logger.exiting();
      }
docs: Generate the final report.json from the completed test and completed configuration temporary files.
  
  @param outputDirectory
  output directory
  @param bForceWrite
  setting true will forcibly generate the report.json