public class WorkflowReportJSON extends Object
Constructor and Description |
---|
WorkflowReportJSON() |
Modifier and Type | Method and Description |
---|---|
protected Date |
getDate(com.fasterxml.jackson.databind.JsonNode json,
String name) |
WorkflowReport |
load(Bundle bundle) |
WorkflowReport |
load(Path workflowReportJson,
WorkflowBundle workflowBundle) |
protected com.fasterxml.jackson.databind.JsonNode |
loadWorkflowReportJson(Path path) |
protected static com.fasterxml.jackson.databind.ObjectMapper |
makeObjectMapperForLoad() |
protected static com.fasterxml.jackson.databind.ObjectMapper |
makeObjectMapperForSave() |
protected ActivityReport |
parseActivityReport(com.fasterxml.jackson.databind.JsonNode actJson,
Path workflowReportJson,
ProcessorReport procReport,
WorkflowBundle workflowBundle) |
protected void |
parseDates(com.fasterxml.jackson.databind.JsonNode json,
StatusReport report) |
protected void |
parseInvocation(com.fasterxml.jackson.databind.JsonNode json,
Path workflowReportJson,
StatusReport report) |
protected ProcessorReport |
parseProcessorReport(com.fasterxml.jackson.databind.JsonNode reportJson,
Path workflowReportJson,
WorkflowReport workflowReport,
WorkflowBundle workflowBundle) |
protected Map<String,Path> |
parseValues(com.fasterxml.jackson.databind.JsonNode json,
Path basePath) |
protected WorkflowReport |
parseWorkflowReport(com.fasterxml.jackson.databind.JsonNode reportJson,
Path workflowReportJson,
ActivityReport actReport,
WorkflowBundle workflowBundle) |
void |
save(WorkflowReport wfReport,
Bundle dataBundle) |
void |
save(WorkflowReport wfReport,
Path path) |
public void save(WorkflowReport wfReport, Path path) throws IOException
IOException
protected static com.fasterxml.jackson.databind.ObjectMapper makeObjectMapperForLoad()
protected static com.fasterxml.jackson.databind.ObjectMapper makeObjectMapperForSave()
public void save(WorkflowReport wfReport, Bundle dataBundle) throws IOException
IOException
public WorkflowReport load(Bundle bundle) throws IOException, ReaderException, ParseException
IOException
ReaderException
ParseException
public WorkflowReport load(Path workflowReportJson, WorkflowBundle workflowBundle) throws IOException, ParseException
IOException
ParseException
protected WorkflowReport parseWorkflowReport(com.fasterxml.jackson.databind.JsonNode reportJson, Path workflowReportJson, ActivityReport actReport, WorkflowBundle workflowBundle) throws ParseException
ParseException
protected ProcessorReport parseProcessorReport(com.fasterxml.jackson.databind.JsonNode reportJson, Path workflowReportJson, WorkflowReport workflowReport, WorkflowBundle workflowBundle) throws ParseException
ParseException
protected ActivityReport parseActivityReport(com.fasterxml.jackson.databind.JsonNode actJson, Path workflowReportJson, ProcessorReport procReport, WorkflowBundle workflowBundle) throws ParseException
ParseException
protected void parseInvocation(com.fasterxml.jackson.databind.JsonNode json, Path workflowReportJson, StatusReport report) throws ParseException
ParseException
protected Map<String,Path> parseValues(com.fasterxml.jackson.databind.JsonNode json, Path basePath)
protected void parseDates(com.fasterxml.jackson.databind.JsonNode json, StatusReport report) throws ParseException
ParseException
protected Date getDate(com.fasterxml.jackson.databind.JsonNode json, String name) throws ParseException
ParseException
protected com.fasterxml.jackson.databind.JsonNode loadWorkflowReportJson(Path path) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
IOException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.