public interface IPipelineStep
IPipeline pipeline.| 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 |
getHelpLocation()
Gets the relative directory location for the help of this step.
|
String |
getName()
Gets the localizable name of this step.
|
IParameters |
getParameters()
Gets the current parameters for this step.
|
default LocaleId |
getSourceLocale()
Delegate to concrete class
|
default LocaleId |
getTargetLocale()
Delegate to concrete class
|
Event |
handleEvent(Event event)
Processes each event sent though the pipeline.
|
boolean |
isDone()
Steps that can generate
Events such as IFilters return
false until no more events can be created. |
boolean |
isLastOutputStep()
Is this step the last step with output in the pipeline?
|
void |
setLastOutputStep(boolean isLastStep)
Tell the step if it is the last one on the pipeline with output.
|
void |
setParameters(IParameters params)
Sets new parameters for this step.
|
default void |
setSourceLocale(LocaleId sourceLocale)
Delegate to concrete class
|
default void |
setTargetLocale(LocaleId targetLocale) |
IParameters getParameters()
void setParameters(IParameters params)
params - the new parameters to use.String getName()
String getDescription()
String getHelpLocation()
Event handleEvent(Event event)
event - the event to process.boolean isDone()
Events such as IFilters return
false until no more events can be created.
Steps which do not create Events always return true.void destroy()
void cancel()
IPipelineStep is responsible
to implement a cancel method that will interrupt long running operationsboolean isLastOutputStep()
void setLastOutputStep(boolean isLastStep)
isLastStep - true if last step with output, false otherwise.default LocaleId getSourceLocale()
default void setSourceLocale(LocaleId sourceLocale)
sourceLocale - default LocaleId getTargetLocale()
default void setTargetLocale(LocaleId targetLocale)
Copyright © 2022. All rights reserved.