|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.datatransformation.datatransformationlibrary.reports.ReportManager
public class ReportManager
| Constructor Summary | |
|---|---|
ReportManager()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportManager()
| Method Detail |
|---|
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.
protected static Report createReport()
throws Exception
Exception
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||