public class SimpleWordCountStep extends BasePipelineStep
| Constructor and Description |
|---|
SimpleWordCountStep() |
| 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.
|
IParameters |
getParameters()
Gets the current parameters for this step.
|
protected Event |
handleEndBatch(Event event)
Handles the
EventType.END_BATCH event. |
protected Event |
handleEndBatchItem(Event event)
Handles the
EventType.END_BATCH_ITEM event. |
protected Event |
handleStartBatch(Event event)
Handles the
EventType.START_BATCH event. |
protected Event |
handleStartBatchItem(Event event)
Handles the
EventType.START_BATCH_ITEM event. |
protected Event |
handleTextUnit(Event event)
Handles the
EventType.TEXT_UNIT event. |
void |
setParameters(IParameters params)
Sets new parameters for this step.
|
void |
setSourceLocale(LocaleId sourceLocale)
Delegate to concrete class
|
cancel, destroy, getHelpLocation, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputStep, setTargetLocalepublic void setSourceLocale(LocaleId sourceLocale)
IPipelineStepsetSourceLocale in interface IPipelineStepsetSourceLocale in class BasePipelineStepprotected Event handleStartBatch(Event event)
BasePipelineStepEventType.START_BATCH event.handleStartBatch in class BasePipelineStepevent - event to handle.protected Event handleStartBatchItem(Event event)
BasePipelineStepEventType.START_BATCH_ITEM event.handleStartBatchItem in class BasePipelineStepevent - event to handle.protected Event handleEndBatchItem(Event event)
BasePipelineStepEventType.END_BATCH_ITEM event.handleEndBatchItem in class BasePipelineStepevent - event to handle.protected Event handleEndBatch(Event event)
BasePipelineStepEventType.END_BATCH event.handleEndBatch in class BasePipelineStepevent - event to handle.protected Event handleTextUnit(Event event)
BasePipelineStepEventType.TEXT_UNIT event.handleTextUnit in class BasePipelineStepevent - event to handle.public String getName()
IPipelineSteppublic String getDescription()
IPipelineSteppublic IParameters getParameters()
IPipelineStepgetParameters in interface IPipelineStepgetParameters in class BasePipelineSteppublic void setParameters(IParameters params)
IPipelineStepsetParameters in interface IPipelineStepsetParameters in class BasePipelineStepparams - the new parameters to use.Copyright © 2021. All rights reserved.