public abstract class AbstractExecutableProces extends Object implements ProcesExecutable
ProcesExecutable.ProcessingImple| Constructor and Description |
|---|
AbstractExecutableProces() |
| Modifier and Type | Method and Description |
|---|---|
protected Date |
getBestandsDatum(File f) |
protected String |
getBestandsNaam(File f)
bepaal bestandnaam.
|
static ProcesExecutable |
getProces(AutomatischProces config)
ProcesExecutable factory.
|
protected boolean |
isDuplicaatLaadProces(File input,
String soort)
bepaal of het bestand een duplicaat is op basis van de bestandsnaam en
soort.
|
boolean |
isRunning() |
void |
run() |
void |
stop()
probeert het lopende proces te stoppen.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, executepublic static ProcesExecutable getProces(AutomatischProces config)
config - the type of ProcesExecutable to create.public boolean isRunning()
isRunning in interface ProcesExecutablepublic void stop()
stop in interface ProcesExecutableprotected boolean isDuplicaatLaadProces(File input, String soort)
loadFromFile(bericht)
-> stagingProxy.loadBr(InputStream stream, String type, String fileName,...)
-> snapshot reader van de input stream parsed het bericht in een BrkSnapshotXMLReader of BagMutatieXMLReader die
bericht voor bericht uitgelezen kunnen worden
-> bepaal of laadproces bestaat stagingProxy.laadProcesExists(filenaam/datum)
-> laadproces in database maken stagingProxy.writeLaadProces(bestand_naam/bestand_datum/soort/gebied/opmerking/status/status_datum/contact_email)
-> uitlezen xml bericht als
-> !stagingProxy.berichtExists(laadprocesid/object_ref/datum/volgordenummer)
-> stagingProxy.writeBericht(b)
input - een input bestandsoort - het type registratie, bijvoorbeeld
BrmoFramework.BR_BRKtrue als het bestand een duplicaat betreft, anders
falseprotected String getBestandsNaam(File f)
f - isDuplicaatLaadProces(java.io.File, java.lang.String)Copyright © 2014–2016 B3Partners B.V.. All rights reserved.