Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • dump

        public static void dump​(ExecutionReport report,
                                java.nio.file.Path p)
        Dump a report to disk.
        Parameters:
        report - to dump
        p - 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 dump
        p - path of report