public class ReportManager extends Object
| Constructor and Description |
|---|
ReportManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeReport()
Closes the report.
|
protected static Report |
createReport() |
static Report |
getReport()
Returns the report.
|
protected static String |
getReportID() |
static void |
initializeReport(boolean create)
Initializes the reporting mechanism.
|
static boolean |
isReportingEnabled()
Checks if the reporting mechanism is enabled for the transformationUnit which is performed.
|
static void |
manageRecord(String objectID,
String msg,
Record.Status status,
Record.Type type)
If the reporting mechanism is enabled then a record is appended in the report.
|
protected static String getReportID()
public static boolean isReportingEnabled()
public static void initializeReport(boolean create)
throws Exception
create - If true then a new report is created and the reporting mechanism is enabled.Exception - If the report could not be created.public static Report getReport() throws Exception
Exception - If no report could be found.public static void closeReport()
public static void manageRecord(String objectID, String msg, Record.Status status, Record.Type type)
objectID - The id of the DataElement.msg - The message of the record.status - The status of the logged operation.type - The type of the logged operation.Copyright © 2014. All Rights Reserved.