public static class JobExceptionsHandler.JobExceptionsJsonArchivist extends Object implements JsonArchivist
Constructor and Description |
---|
JobExceptionsJsonArchivist() |
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. |
public Collection<ArchivedJson> archiveJsonWithPath(AccessExecutionGraph graph) 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
graph
- AccessExecutionGraph for which the responses should be generatedIOException
- thrown if the JSON generation failsCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.