Interface OnlyExecutionGraphJsonArchivist

    • Method Detail

      • archiveJsonWithPath

        Collection<ArchivedJson> archiveJsonWithPath​(AccessExecutionGraph graph)
                                              throws IOException
        Returns a Collection of ArchivedJsons containing JSON responses and their respective REST URL for a given job.

        The collection should contain one entry for every response that could be generated for the given job, for example one entry for each task. The REST URLs should be unique and must not contain placeholders.

        Parameters:
        graph - AccessExecutionGraph for which the responses should be generated
        Returns:
        Collection containing an ArchivedJson for every response that could be generated for the given job
        Throws:
        IOException - thrown if the JSON generation fails
      • archiveJsonWithPath

        default Collection<ArchivedJson> archiveJsonWithPath​(ExecutionGraphInfo executionGraphInfo)
                                                      throws IOException
        Description copied from interface: JsonArchivist
        Returns a Collection of ArchivedJsons containing JSON responses and their respective REST URL for a given job.

        The collection should contain one entry for every response that could be generated for the given job, for example one entry for each task. The REST URLs should be unique and must not contain placeholders.

        Specified by:
        archiveJsonWithPath in interface JsonArchivist
        Parameters:
        executionGraphInfo - AccessExecutionGraph-related information for which the responses should be generated
        Returns:
        Collection containing an ArchivedJson for every response that could be generated for the given job
        Throws:
        IOException - thrown if the JSON generation fails