public class Processor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Processor.PlanType |
| Constructor and Description |
|---|
Processor(List<HarvestJob> jobs,
File downloadfolder) |
Processor(List<HarvestJob> jobs,
Integer timeout,
File downloadfolder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkIfExists(Geleideformulier formulier,
javax.persistence.EntityManager em) |
protected void |
downloadFiles(Geleideformulier formulier) |
List<Geleideformulier> |
getGeleideformulierenFromManifestURL(URL manifest,
StatusReport report) |
protected URL |
getManifestURL(File f) |
protected URL |
getManifestURL(HarvestJob job) |
protected Processor.PlanType |
getPlanType(List<Object> planObjecten) |
protected void |
postprocess(List<Object> planObjecten,
javax.persistence.EntityManager em) |
void |
process() |
public Processor(List<HarvestJob> jobs, File downloadfolder) throws JAXBException
JAXBExceptionpublic Processor(List<HarvestJob> jobs, Integer timeout, File downloadfolder) throws JAXBException
JAXBExceptionpublic void process()
throws org.jdom2.JDOMException
org.jdom2.JDOMExceptionprotected void postprocess(List<Object> planObjecten, javax.persistence.EntityManager em)
protected Processor.PlanType getPlanType(List<Object> planObjecten)
protected URL getManifestURL(HarvestJob job) throws IOException
IOExceptionprotected URL getManifestURL(File f) throws IOException
IOExceptionpublic boolean checkIfExists(Geleideformulier formulier, javax.persistence.EntityManager em) throws ParseException
ParseExceptionpublic List<Geleideformulier> getGeleideformulierenFromManifestURL(URL manifest, StatusReport report) throws IOException, org.jdom2.JDOMException, JAXBException
IOExceptionorg.jdom2.JDOMExceptionJAXBExceptionprotected void downloadFiles(Geleideformulier formulier) throws IOException
IOExceptionCopyright © 2018. All rights reserved.