| Package | Description |
|---|---|
| net.sf.okapi.common.pipeline |
Interfaces and classes to implement and manage pipelines.
|
| net.sf.okapi.common.pipeline.annotations |
Classes to implement the introspection of pipeline steps.
|
| net.sf.okapi.common.pipelinebuilder | |
| net.sf.okapi.common.pipelinedriver |
Interfaces and classes to implement and pipeline drivers.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ICallableStep<T>
Step that implements the Callable interface and can be run concurrently.
|
interface |
IWorkQueueStep<T>
Step that can process multiple events concurrently.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasePipelineStep
Abstract implementation of the
IPipelineStep interface. |
| Modifier and Type | Method and Description |
|---|---|
IPipelineStep |
IWorkQueueStep.getMainStep()
Gets the main step wrapped by IWorkQueueStep
|
IPipelineStep |
ICallableStep.getMainStep()
Gets the main step wrapped by ICallableStep
|
| Modifier and Type | Method and Description |
|---|---|
List<IPipelineStep> |
Pipeline.getSteps() |
List<IPipelineStep> |
IPipeline.getSteps()
Gets the list of all steps in this pipeline.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Pipeline.addStep(IPipelineStep step) |
void |
IPipeline.addStep(IPipelineStep step)
Adds a step to this pipeline.
|
void |
IWorkQueueStep.setMainStep(IPipelineStep step)
Sets the main (template for all callabale steps) pipeline step
MUST BE CALLED BEFORE init()
|
| Modifier and Type | Method and Description |
|---|---|
IPipelineStep |
ConfigurationParameter.getStep()
Gets the step for this parameter.
|
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
StepIntrospector.getStepEventHandlers(IPipelineStep step)
Gets the list of the event handlers for a given step.
|
static List<ConfigurationParameter> |
StepIntrospector.getStepParameters(IPipelineStep step)
Gets the list of the
ConfigurationParameter in a given step. |
void |
ConfigurationParameter.setStep(IPipelineStep step)
Sets the step for this parameter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XPipeline |
class |
XPipelineAsStepImpl
Pipeline as step delegate.
|
class |
XPipelineStep |
| Modifier and Type | Method and Description |
|---|---|
IPipelineStep |
XPipelineStep.getStep() |
| Constructor and Description |
|---|
XPipeline(String description,
IPipelineStep... steps) |
XPipeline(String description,
XBatch batch,
IPipelineStep... steps) |
XPipeline(String description,
XBatch batch,
XPipelineType type,
IPipelineStep... steps) |
XPipeline(String description,
XFilters filters,
String rootDir,
XBatch batch,
IPipelineStep... steps) |
XPipeline(String description,
XFilters filters,
XBatch batch,
IPipelineStep... steps) |
XPipeline(String description,
XPipelineType type,
IPipelineStep... steps) |
XPipelineStep(IPipelineStep step)
Deprecated.
|
XPipelineStep(IPipelineStep step,
IParameters parameters) |
XPipelineStep(IPipelineStep step,
URL parametersURL,
boolean ignoreErrors) |
XPipelineStep(IPipelineStep step,
XParameter... parameters) |
| Constructor and Description |
|---|
XPipelineStep(Class<? extends IPipelineStep> stepClass,
IParameters parameters) |
XPipelineStep(Class<? extends IPipelineStep> stepClass,
URL parametersURL,
boolean ignoreErrors) |
XPipelineStep(Class<? extends IPipelineStep> stepClass,
XParameter... parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
PipelineDriver.addStep(IPipelineStep step) |
void |
IPipelineDriver.addStep(IPipelineStep step)
Adds a step to the pipeline currently associated with this driver.
|
static void |
PipelineDriverUtils.assignRuntimeParameters(PipelineDriver driver,
IPipelineStep step,
IBatchItemContext item,
List<ConfigurationParameter> pList)
Called from WorkQueuePipelineDriver
|
static void |
PipelineDriverUtils.assignSingleRuntimeParameter(PipelineDriver driver,
IPipelineStep currentStep,
IBatchItemContext item,
ConfigurationParameter p) |
Copyright © 2021. All rights reserved.