Class ConfigurationParameter
- java.lang.Object
-
- net.sf.okapi.common.pipeline.annotations.ConfigurationParameter
-
public class ConfigurationParameter extends Object
Java annotation item for runtime configuration parameters used inIPipelineStep.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodgetMethod()Gets the method for this parameter.StepParameterTypegetParameterType()Gets the type of parameter for this parameter.IPipelineStepgetStep()Gets the step for this parameter.voidsetMethod(Method method)Sets the method for this parameter.voidsetParameterType(StepParameterType parameterType)Sets the type of parameter for this parameter.voidsetStep(IPipelineStep step)Sets the step for this parameter.
-
-
-
Method Detail
-
setMethod
public void setMethod(Method method)
Sets the method for this parameter.- Parameters:
method- the method for this parameter.
-
getMethod
public Method getMethod()
Gets the method for this parameter.- Returns:
- the method for this parameter.
-
setParameterType
public void setParameterType(StepParameterType parameterType)
Sets the type of parameter for this parameter.- Parameters:
parameterType- the type of parameter for this parameter.
-
getParameterType
public StepParameterType getParameterType()
Gets the type of parameter for this parameter.- Returns:
- the type of parameter for this parameter.
-
setStep
public void setStep(IPipelineStep step)
Sets the step for this parameter.- Parameters:
step- the step for this parameter.
-
getStep
public IPipelineStep getStep()
Gets the step for this parameter.- Returns:
- the step for this parameter.
-
-