public class FgsmsReportGenerator extends Object
Constructor and Description |
---|
FgsmsReportGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
FgsmsReportGenerator() |
void |
Fire(boolean pooled,
boolean waitforfinish)
Fire - this is the primary entry point.
|
String |
Fire(boolean pooled,
String job)
this is used for testing purposes, it will generate a report based on job
id
|
protected String |
GenerateReport(ReportDefinition get,
boolean pooled)
generates the report, inserts it into the database and updates the table
to reflect the last updated timestamp
|
protected void |
ProcessAlerts(ReportDefinition get,
String id,
boolean pooled) |
public void FgsmsReportGenerator() throws DatatypeConfigurationException
DatatypeConfigurationException
public String Fire(boolean pooled, String job) throws Exception
pooled
- job
- Exception
public void Fire(boolean pooled, boolean waitforfinish)
pooled
- waitforfinish
- if true, this function will block until all reports
have been generated, false uses a queuing mechanism and will exit after
all jobs have been enqueuedprotected String GenerateReport(ReportDefinition get, boolean pooled) throws Exception
geturns
- the report idException
protected void ProcessAlerts(ReportDefinition get, String id, boolean pooled)
Copyright © 2008–2017 MIL-OSS. All rights reserved.