Class ExecutionReportSerialization
- java.lang.Object
-
- de.hshannover.dqgui.core.serialization.ExecutionReportSerialization
-
public final class ExecutionReportSerialization extends java.lang.Object
Serialize/deserialize ExecutionReports
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
dump(ExecutionReport report, java.nio.file.Path p)
Dump a report to disk.static void
dumpRaw(java.lang.String json, java.nio.file.Path p)
Dump a raw report (json) to disk.static ExecutionReport
recover(java.nio.file.Path p)
Recover a saved report from disk.
-
-
-
Method Detail
-
dump
public static void dump(ExecutionReport report, java.nio.file.Path p)
Dump a report to disk.- Parameters:
report
- to dumpp
- path of report
-
recover
public static ExecutionReport recover(java.nio.file.Path p)
Recover a saved report from disk.- Parameters:
p
- path to recover from- Returns:
- recovered report
-
dumpRaw
public static void dumpRaw(java.lang.String json, java.nio.file.Path p)
Dump a raw report (json) to disk.- Parameters:
json
- raw report to dumpp
- path of report
-
-