public class BatchTmLeveragingStep extends BasePipelineStep
| Constructor and Description |
|---|
BatchTmLeveragingStep() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets a short localizable description of what this step does.
|
String |
getName()
Gets the localizable name of this step.
|
Parameters |
getParameters()
Gets the current parameters for this step.
|
String |
getRootDirectory() |
LocaleId |
getSourceLocale() |
LocaleId |
getTargetLocale() |
protected Event |
handleEndDocument(Event event)
Handles the
EventType.END_DOCUMENT event. |
Event |
handleEvent(Event event)
Processes each event sent though the pipeline.
|
protected Event |
handleStartBatch(Event event)
Handles the
EventType.START_BATCH event. |
protected Event |
handleTextUnit(Event event)
Handles the
EventType.TEXT_UNIT event. |
void |
setParameters(IParameters params)
Sets new parameters for this step.
|
void |
setRootDirectory(String rootDir) |
void |
setSourceLocale(LocaleId sourceLocale) |
void |
setTargetLocale(LocaleId targetLocale) |
cancel, destroy, getHelpLocation, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputSteppublic void setSourceLocale(LocaleId sourceLocale)
public LocaleId getSourceLocale()
public void setTargetLocale(LocaleId targetLocale)
public LocaleId getTargetLocale()
public void setRootDirectory(String rootDir)
public String getRootDirectory()
public String getName()
IPipelineSteppublic String getDescription()
IPipelineSteppublic Parameters getParameters()
IPipelineStepgetParameters in interface IPipelineStepgetParameters in class BasePipelineSteppublic void setParameters(IParameters params)
IPipelineStepsetParameters in interface IPipelineStepsetParameters in class BasePipelineStepparams - the new parameters to use.public Event handleEvent(Event event)
IPipelineStephandleEvent in interface IPipelineStephandleEvent in class BasePipelineStepevent - the event to process.protected Event handleTextUnit(Event event)
BasePipelineStepEventType.TEXT_UNIT event.handleTextUnit in class BasePipelineStepevent - event to handle.protected Event handleStartBatch(Event event)
BasePipelineStepEventType.START_BATCH event.handleStartBatch in class BasePipelineStepevent - event to handle.protected Event handleEndDocument(Event event)
BasePipelineStepEventType.END_DOCUMENT event.handleEndDocument in class BasePipelineStepevent - event to handle.Copyright © 2021. All rights reserved.