/** * Constructor. Start generating charts for data belonging to the given job. * * @param jobId a job id. */ StartedJobHistoryChartGen(long jobId) { super(); this.outputFolder = new File(FileUtils.getTempDir() + File.separator + OUTPUT_REL_PATH); this.jobId = jobId; // Set the locale to the system default this.locale = Locale.getDefault(); genExec = new PeriodicTaskExecutor("ChartGen", new ChartGen(this), 0, GEN_INTERVAL); }
@Override public void setUp() throws Exception { super.setUp(); tmpdir = FileUtils.getTempDir(); }