| 12 |
|
} |
| 13 |
|
|
| 14 |
|
// Runs all of the reports for each distinct machine name. |
| 15 |
< |
public void runReports(ReportList reports) throws SQLException, Exception { |
| 15 |
> |
public void runReports(ReportList reports, String webDir) throws SQLException, Exception { |
| 16 |
|
|
| 17 |
|
System.out.println("Preparing reports ..."); |
| 18 |
|
|
| 51 |
|
System.out.println("Readying reports for " + machines.size() + " machines."); |
| 52 |
|
|
| 53 |
|
// Produce all of the reports for each machine. |
| 54 |
< |
ReportMaker rm = new ReportMaker(_stmt, DateUtils.shortDateString(_startTime), _startTime, _endTime); |
| 54 |
> |
ReportMaker rm = new ReportMaker(_stmt, webDir, DateUtils.shortDateString(_startTime), _startTime, _endTime); |
| 55 |
|
Iterator machineIt = machines.iterator(); |
| 56 |
|
while (machineIt.hasNext()) { |
| 57 |
|
String machine = (String)machineIt.next(); |