Package org.apache.uima.fit.factory
Class FlowControllerFactory
java.lang.Object
org.apache.uima.fit.factory.FlowControllerFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic FlowControllerDescription
createFlowControllerDescription
(Class<? extends FlowController> flowControllerClass, Object... configurationData) Creates a new FlowControllerDescription for a given class and configuration datastatic FlowControllerDescription
createFlowControllerDescription
(Class<? extends FlowController> flowControllerClass, ConfigurationParameter[] configurationParameters, Object[] configurationValues) static FlowControllerDescription
createFlowControllerDescription
(Class<? extends FlowController> flowControllerClass, ConfigurationParameter[] configurationParameters, Object[] configurationValues, Map<String, ExternalResourceDescription> externalResources) Creates a new FlowControllerDescription for a given class and configuration parameters with values
-
Method Details
-
createFlowControllerDescription
public static FlowControllerDescription createFlowControllerDescription(Class<? extends FlowController> flowControllerClass, Object... configurationData) throws ResourceInitializationException Creates a new FlowControllerDescription for a given class and configuration data- Parameters:
flowControllerClass
- the flow controller classconfigurationData
- should be configuration parameter name / value pairs.- Returns:
- a flow controller description
- Throws:
ResourceInitializationException
- if the description could not be created
-
createFlowControllerDescription
public static FlowControllerDescription createFlowControllerDescription(Class<? extends FlowController> flowControllerClass, ConfigurationParameter[] configurationParameters, Object[] configurationValues) throws ResourceInitializationException - Parameters:
flowControllerClass
- the flow controller classconfigurationParameters
- the configuration parametersconfigurationValues
- the configuration parameter values- Returns:
- a flow controller description
- Throws:
ResourceInitializationException
- if the description could not be created
-
createFlowControllerDescription
public static FlowControllerDescription createFlowControllerDescription(Class<? extends FlowController> flowControllerClass, ConfigurationParameter[] configurationParameters, Object[] configurationValues, Map<String, ExternalResourceDescription> externalResources) throws ResourceInitializationExceptionCreates a new FlowControllerDescription for a given class and configuration parameters with values- Parameters:
flowControllerClass
- the flow controller classconfigurationParameters
- the configuration parametersconfigurationValues
- the configuration parameter valuesexternalResources
- the external resources- Returns:
- a flow controller description
- Throws:
ResourceInitializationException
- if the description could not be created
-