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 ( ) ; }
Generate the final report . json from the completed test and completed configuration temporary files .