Package org.apache.uima.fit.factory
Class FlowControllerFactory
java.lang.Object
org.apache.uima.fit.factory.FlowControllerFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.uima.flow.FlowControllerDescription
createFlowControllerDescription
(Class<? extends org.apache.uima.flow.FlowController> flowControllerClass, Object... configurationData) Creates a new FlowControllerDescription for a given class and configuration datastatic org.apache.uima.flow.FlowControllerDescription
createFlowControllerDescription
(Class<? extends org.apache.uima.flow.FlowController> flowControllerClass, org.apache.uima.resource.metadata.ConfigurationParameter[] configurationParameters, Object[] configurationValues) static org.apache.uima.flow.FlowControllerDescription
createFlowControllerDescription
(Class<? extends org.apache.uima.flow.FlowController> flowControllerClass, org.apache.uima.resource.metadata.ConfigurationParameter[] configurationParameters, Object[] configurationValues, Map<String, org.apache.uima.resource.ExternalResourceDescription> externalResources) Creates a new FlowControllerDescription for a given class and configuration parameters with values
-
Method Details
-
createFlowControllerDescription
public static org.apache.uima.flow.FlowControllerDescription createFlowControllerDescription(Class<? extends org.apache.uima.flow.FlowController> flowControllerClass, Object... configurationData) throws org.apache.uima.resource.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:
org.apache.uima.resource.ResourceInitializationException
- if the description could not be created
-
createFlowControllerDescription
public static org.apache.uima.flow.FlowControllerDescription createFlowControllerDescription(Class<? extends org.apache.uima.flow.FlowController> flowControllerClass, org.apache.uima.resource.metadata.ConfigurationParameter[] configurationParameters, Object[] configurationValues) throws org.apache.uima.resource.ResourceInitializationException - Parameters:
flowControllerClass
- the flow controller classconfigurationParameters
- the configuration parametersconfigurationValues
- the configuration parameter values- Returns:
- a flow controller description
- Throws:
org.apache.uima.resource.ResourceInitializationException
- if the description could not be created
-
createFlowControllerDescription
public static org.apache.uima.flow.FlowControllerDescription createFlowControllerDescription(Class<? extends org.apache.uima.flow.FlowController> flowControllerClass, org.apache.uima.resource.metadata.ConfigurationParameter[] configurationParameters, Object[] configurationValues, Map<String, org.apache.uima.resource.ExternalResourceDescription> externalResources) throws org.apache.uima.resource.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:
org.apache.uima.resource.ResourceInitializationException
- if the description could not be created
-