public interface OnlyExecutionGraphJsonArchivist extends JsonArchivist
AccessExecutionGraph
-related information.Modifier and Type | Method and Description |
---|---|
Collection<ArchivedJson> |
archiveJsonWithPath(AccessExecutionGraph graph)
Returns a
Collection of ArchivedJson s containing JSON responses and their
respective REST URL for a given job. |
default Collection<ArchivedJson> |
archiveJsonWithPath(ExecutionGraphInfo executionGraphInfo)
Returns a
Collection of ArchivedJson s containing JSON responses and their
respective REST URL for a given job. |
Collection<ArchivedJson> archiveJsonWithPath(AccessExecutionGraph graph) throws IOException
Collection
of ArchivedJson
s 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.
graph
- AccessExecutionGraph for which the responses should be generatedIOException
- thrown if the JSON generation failsdefault Collection<ArchivedJson> archiveJsonWithPath(ExecutionGraphInfo executionGraphInfo) throws IOException
JsonArchivist
Collection
of ArchivedJson
s 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.
archiveJsonWithPath
in interface JsonArchivist
executionGraphInfo
- AccessExecutionGraph
-related information for which the
responses should be generatedIOException
- thrown if the JSON generation failsCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.