public class ISAJsonExporter1_0 extends Object implements IISAExport, net.idea.modbcum.i.reporter.Reporter<SubstanceRecord,Investigation>
Modifier and Type | Field and Description |
---|---|
protected boolean |
enabled |
protected static Logger |
logger |
Constructor and Description |
---|
ISAJsonExporter1_0() |
ISAJsonExporter1_0(File outputDir,
File exportConfig) |
ISAJsonExporter1_0(File outputDir,
ISAJsonExportConfig cfg) |
ISAJsonExporter1_0(File outputDir,
ISAJsonExportConfig cfg,
File extDataFile) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
export(SubstanceEndpointsBundle endpointBundle,
Iterator<SubstanceRecord> records) |
File |
getExportJsonConfig() |
File |
getExternalDataFile() |
String |
getFileExtension() |
long |
getID() |
ISAConst.ISAFormat |
getISAFormat() |
ISAConst.ISAVersion |
getISAVersion() |
String |
getLicenseURI() |
Investigation |
getOutput() |
File |
getOutputDir() |
String |
getResultAsJson() |
long |
getTimeout() |
File |
getXmlISAConfig() |
void |
init(SubstanceEndpointsBundle endpointBundle) |
boolean |
isEnabled() |
void |
open() |
Investigation |
process(SubstanceRecord record) |
void |
setEnabled(boolean arg0) |
void |
setExportJsonConfig(File exportConfig) |
void |
setExternalDataFile(File externalDataFile) |
void |
setLicenseURI(String arg0) |
void |
setOutput(Investigation output) |
void |
setOutputDir(File outputDir) |
void |
setTimeout(long arg0) |
void |
setXmlISAConfig(File xmlISAConfig) |
protected boolean enabled
protected static final Logger logger
public ISAJsonExporter1_0()
public ISAJsonExporter1_0(File outputDir, ISAJsonExportConfig cfg)
public ISAJsonExporter1_0(File outputDir, ISAJsonExportConfig cfg, File extDataFile)
public File getExportJsonConfig()
public void setExportJsonConfig(File exportConfig)
public File getXmlISAConfig()
public void setXmlISAConfig(File xmlISAConfig)
public File getOutputDir()
public void setExternalDataFile(File externalDataFile)
public File getExternalDataFile()
public void setOutputDir(File outputDir)
public ISAConst.ISAFormat getISAFormat()
getISAFormat
in interface IISAExport
public ISAConst.ISAVersion getISAVersion()
getISAVersion
in interface IISAExport
public void init(SubstanceEndpointsBundle endpointBundle) throws Exception
Exception
public void export(SubstanceEndpointsBundle endpointBundle, Iterator<SubstanceRecord> records) throws Exception
Exception
public long getID()
getID
in interface net.idea.modbcum.i.processors.IProcessor<SubstanceRecord,Investigation>
public boolean isEnabled()
isEnabled
in interface net.idea.modbcum.i.processors.IProcessor<SubstanceRecord,Investigation>
public void open() throws Exception
open
in interface net.idea.modbcum.i.processors.IProcessor<SubstanceRecord,Investigation>
Exception
public Investigation process(SubstanceRecord record) throws Exception
process
in interface net.idea.modbcum.i.processors.IProcessor<SubstanceRecord,Investigation>
Exception
public void setEnabled(boolean arg0)
setEnabled
in interface net.idea.modbcum.i.processors.IProcessor<SubstanceRecord,Investigation>
public void close() throws Exception
close
in interface net.idea.modbcum.i.processors.IProcessor<SubstanceRecord,Investigation>
close
in interface net.idea.modbcum.i.reporter.Reporter<SubstanceRecord,Investigation>
Exception
public String getFileExtension()
getFileExtension
in interface net.idea.modbcum.i.reporter.Reporter<SubstanceRecord,Investigation>
public String getLicenseURI()
getLicenseURI
in interface net.idea.modbcum.i.reporter.Reporter<SubstanceRecord,Investigation>
public Investigation getOutput() throws Exception
getOutput
in interface net.idea.modbcum.i.reporter.Reporter<SubstanceRecord,Investigation>
Exception
public long getTimeout()
getTimeout
in interface net.idea.modbcum.i.reporter.Reporter<SubstanceRecord,Investigation>
public void setLicenseURI(String arg0)
setLicenseURI
in interface net.idea.modbcum.i.reporter.Reporter<SubstanceRecord,Investigation>
public void setOutput(Investigation output) throws Exception
setOutput
in interface net.idea.modbcum.i.reporter.Reporter<SubstanceRecord,Investigation>
Exception
public void setTimeout(long arg0)
setTimeout
in interface net.idea.modbcum.i.reporter.Reporter<SubstanceRecord,Investigation>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.