Class MergingStep
- java.lang.Object
-
- net.sf.okapi.common.pipeline.BasePipelineStep
-
- net.sf.okapi.steps.rainbowkit.postprocess.MergingStep
-
- All Implemented Interfaces:
AutoCloseable,Function<Stream<Event>,Stream<Event>>,IPipelineStep
public class MergingStep extends BasePipelineStep
-
-
Constructor Summary
Constructors Constructor Description MergingStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()protected intgetErrorCount()IFilterConfigurationMappergetFilterConfigurationMapper()StringgetName()ParametersgetParameters()LocaleIdgetTargetLocale()EventhandleEvent(Event event)protected EventhandleStartDocument(Event event)voidsetFilterConfigurationMapper(IFilterConfigurationMapper fcMapper)voidsetParameters(IParameters params)voidsetTargetLocale(LocaleId targetLocale)-
Methods inherited from class net.sf.okapi.common.pipeline.BasePipelineStep
cancel, destroy, getHelpLocation, getSourceLocale, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatch, handleStartBatchItem, handleStartGroup, handleStartSubDocument, handleStartSubfilter, handleTextUnit, isDone, isLastOutputStep, setLastOutputStep, setSourceLocale
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.okapi.common.pipeline.IPipelineStep
apply, close, handleStream
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescription
public String getDescription()
-
getName
public String getName()
-
setFilterConfigurationMapper
public void setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper)
-
getFilterConfigurationMapper
public IFilterConfigurationMapper getFilterConfigurationMapper()
-
setTargetLocale
public void setTargetLocale(LocaleId targetLocale)
- Specified by:
setTargetLocalein interfaceIPipelineStep- Overrides:
setTargetLocalein classBasePipelineStep
-
getTargetLocale
public LocaleId getTargetLocale()
- Specified by:
getTargetLocalein interfaceIPipelineStep- Overrides:
getTargetLocalein classBasePipelineStep
-
handleEvent
public Event handleEvent(Event event)
- Specified by:
handleEventin interfaceIPipelineStep- Overrides:
handleEventin classBasePipelineStep
-
handleStartDocument
protected Event handleStartDocument(Event event)
- Overrides:
handleStartDocumentin classBasePipelineStep
-
getParameters
public Parameters getParameters()
- Specified by:
getParametersin interfaceIPipelineStep- Overrides:
getParametersin classBasePipelineStep
-
setParameters
public void setParameters(IParameters params)
- Specified by:
setParametersin interfaceIPipelineStep- Overrides:
setParametersin classBasePipelineStep
-
getErrorCount
protected int getErrorCount()
-
-