Class PipelineDriverUtils
- java.lang.Object
-
- net.sf.okapi.common.pipelinedriver.PipelineDriverUtils
-
public class PipelineDriverUtils extends Object
Share code between the differentIPipelineDriverimplementations
-
-
Constructor Summary
Constructors Constructor Description PipelineDriverUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidassignRuntimeParameters(PipelineDriver driver, LinkedList<List<ConfigurationParameter>> paramList, IBatchItemContext item)Called fromPipelineDriverstatic voidassignRuntimeParameters(PipelineDriver driver, IPipelineStep step, IBatchItemContext item, List<ConfigurationParameter> pList)Called from WorkQueuePipelineDriverstatic voidassignSingleRuntimeParameter(PipelineDriver driver, IPipelineStep currentStep, IBatchItemContext item, ConfigurationParameter p)
-
-
-
Method Detail
-
assignRuntimeParameters
public static void assignRuntimeParameters(PipelineDriver driver, LinkedList<List<ConfigurationParameter>> paramList, IBatchItemContext item)
Called fromPipelineDriver- Parameters:
driver- -IPipelineDriverimplementationparamList- - list ofConfigurationParameterfor each step in the pipelineitem- -IBatchItemContextthat has attributes
-
assignSingleRuntimeParameter
public static void assignSingleRuntimeParameter(PipelineDriver driver, IPipelineStep currentStep, IBatchItemContext item, ConfigurationParameter p) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
-
assignRuntimeParameters
public static void assignRuntimeParameters(PipelineDriver driver, IPipelineStep step, IBatchItemContext item, List<ConfigurationParameter> pList)
Called from WorkQueuePipelineDriver- Parameters:
driver- -IPipelineDriverimplementationstep- -IPipelineStepto initializeitem- -IBatchItemContextthat has attributespList- - list ofConfigurationParameter
-
-