public class JsonJobFileParser extends Object implements JobFileParser
ImportJob object. It is
expected that the complete JSON object will map to a single job object, via simple object
mapping with a Jackson ObjectMapper.| Constructor and Description |
|---|
JsonJobFileParser() |
JsonJobFileParser(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
ImportJob |
parseJobFile(String inputPath)
|
void |
setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
public JsonJobFileParser()
public JsonJobFileParser(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public ImportJob parseJobFile(String inputPath) throws DataImportException
parseJobFile in interface JobFileParserinputPath - Path to the job description file.DataImportExceptionpublic void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Copyright © 2016. All rights reserved.