Class StepIntrospector
- java.lang.Object
-
- net.sf.okapi.common.pipeline.annotations.StepIntrospector
-
public final class StepIntrospector extends Object
Scan a class for retrieving the differentConfigurationParameterit uses.
-
-
Constructor Summary
Constructors Constructor Description StepIntrospector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>getStepEventHandlers(IPipelineStep step)Gets the list of the event handlers for a given step.static List<ConfigurationParameter>getStepParameters(IPipelineStep step)Gets the list of theConfigurationParameterin a given step.
-
-
-
Method Detail
-
getStepParameters
public static List<ConfigurationParameter> getStepParameters(IPipelineStep step)
Gets the list of theConfigurationParameterin a given step.- Parameters:
step- the step to introspect.- Returns:
- the list of the
ConfigurationParameter.
-
getStepEventHandlers
public static List<String> getStepEventHandlers(IPipelineStep step)
Gets the list of the event handlers for a given step.- Parameters:
step- the step to introspect.- Returns:
- the list of the event handlers.
-
-