public class ExtractionVerificationStep extends BasePipelineStep
RawDocument is extracted and merged back properly.
This step performs a first extraction, merges the result without changing
the data, then re-exact the file generated by the merge, and compare the event
generated in both extraction. There should be no difference.
This verification does not verify that the merge file is valid, but it should catch most of the problems caused by invalid merges.
| Constructor and Description |
|---|
ExtractionVerificationStep()
Creates a new ExtractionVerificationStep object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel processing on this pipeline.
|
void |
destroy()
Executes any cleanup code for this step.
|
String |
getDescription()
Gets a short localizable description of what this step does.
|
String |
getName()
Gets the localizable name of this step.
|
ExtractionVerificationStepParameters |
getParameters()
Gets the current parameters for this step.
|
protected Event |
handleRawDocument(Event event)
Handles the
EventType.RAW_DOCUMENT event. |
void |
setFilterConfigurationId(String filterConfigId) |
void |
setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper) |
void |
setParameters(IParameters params)
Sets new parameters for this step.
|
getHelpLocation, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, handleTextUnit, isDone, isLastOutputStep, setLastOutputStep, setSourceLocale, setTargetLocalepublic ExtractionVerificationStep()
public void setParameters(IParameters params)
IPipelineStepsetParameters in interface IPipelineStepsetParameters in class BasePipelineStepparams - the new parameters to use.public ExtractionVerificationStepParameters getParameters()
IPipelineStepgetParameters in interface IPipelineStepgetParameters in class BasePipelineSteppublic void setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper)
public void setFilterConfigurationId(String filterConfigId)
public String getName()
IPipelineSteppublic String getDescription()
IPipelineStepprotected Event handleRawDocument(Event event)
BasePipelineStepEventType.RAW_DOCUMENT event.handleRawDocument in class BasePipelineStepevent - event to handle.public void destroy()
IPipelineStepdestroy in interface IPipelineStepdestroy in class BasePipelineSteppublic void cancel()
IPipelineStepIPipelineStep is responsible
to implement a cancel method that will interrupt long running operationscancel in interface IPipelineStepcancel in class BasePipelineStepCopyright © 2022. All rights reserved.