public class CpeDescriptorFactory extends Object
| Constructor and Description |
|---|
CpeDescriptorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.uima.collection.metadata.CpeIntegratedCasProcessor |
produceCasProcessor(String aName) |
static org.apache.uima.collection.metadata.CasProcessorConfigurationParameterSettings |
produceCasProcessorConfigurationParameterSettings() |
static org.apache.uima.collection.metadata.CasProcessorDeploymentParams |
produceCasProcessorDeploymentParams() |
static org.apache.uima.collection.metadata.CasProcessorErrorHandling |
produceCasProcessorErrorHandling() |
static org.apache.uima.collection.metadata.CasProcessorErrorRateThreshold |
produceCasProcessorErrorRateThreshold() |
static org.apache.uima.collection.metadata.CasProcessorExecArg |
produceCasProcessorExecArg() |
static org.apache.uima.collection.metadata.CasProcessorExecutable |
produceCasProcessorExecutable() |
static org.apache.uima.collection.metadata.CasProcessorFilter |
produceCasProcessorFilter(String aFilter) |
static org.apache.uima.collection.metadata.CasProcessorMaxRestarts |
produceCasProcessorMaxRestarts() |
static org.apache.uima.collection.metadata.CpeCasProcessors |
produceCasProcessors() |
static org.apache.uima.collection.metadata.CpeCasProcessors |
produceCasProcessors(org.apache.uima.collection.metadata.CpeDescription aDescriptor) |
static org.apache.uima.collection.metadata.CpeCasProcessors |
produceCasProcessors(int aInputQSize,
int aOutputQSize,
int aPuCount,
org.apache.uima.collection.metadata.CpeDescription aDescriptor) |
static org.apache.uima.collection.metadata.CasProcessorTimeout |
produceCasProcessorTimeout() |
static org.apache.uima.collection.metadata.CpeCollectionReader |
produceCollectionReader() |
static org.apache.uima.collection.metadata.CpeCollectionReader |
produceCollectionReader(String aCollectionReaderDescriptorPath) |
static org.apache.uima.collection.metadata.CpeCollectionReader |
produceCollectionReader(String aCollectionReaderDescriptorPath,
org.apache.uima.collection.metadata.CpeDescription aDescriptor) |
protected static org.apache.uima.collection.metadata.CpeCollectionReaderCasInitializer |
produceCollectionReaderCasInitializer(String aInitializerDescriptorPath)
Deprecated.
As of v2.0, CAS Initializers are deprecated.
|
static org.apache.uima.collection.metadata.CpeCollectionReaderCasInitializer |
produceCollectionReaderCasInitializer(String aPath,
org.apache.uima.collection.metadata.CpeDescription aDescriptor)
Deprecated.
As of v2.0, CAS Initializers are deprecated.
|
static org.apache.uima.collection.metadata.CpeCollectionReaderIterator |
produceCollectionReaderIterator(String aPath) |
static org.apache.uima.collection.metadata.CpeComponentDescriptor |
produceComponentDescriptor(String aPath) |
static org.apache.uima.collection.metadata.CpeInclude |
produceComponentDescriptorInclude() |
static org.apache.uima.collection.metadata.CpeCheckpoint |
produceCpeCheckpoint() |
static org.apache.uima.collection.metadata.CpeConfiguration |
produceCpeConfiguration() |
static org.apache.uima.collection.metadata.CpeConfiguration |
produceCpeConfiguration(org.apache.uima.collection.metadata.CpeDescription aDescriptor) |
static org.apache.uima.collection.metadata.CpeTimer |
produceCpeTimer(String aTimerClass) |
static org.apache.uima.collection.metadata.CasProcessorDeploymentParam |
produceDeployParam() |
static org.apache.uima.collection.metadata.CasProcessorDeploymentParams |
produceDeployParams() |
static org.apache.uima.collection.metadata.CpeDescription |
produceDescriptor()
Produce a new CpeDescription from scratch.
|
static org.apache.uima.collection.metadata.CpeDescription |
produceDescriptor(InputStream aInput)
Parse a CpeDescription from a given input stream.
|
static org.apache.uima.collection.metadata.CpeDescription |
produceDescriptor(org.apache.uima.util.XMLInputSource aInput)
Parse a CpeDescription from a descriptor file.
|
static org.apache.uima.collection.metadata.CpeLocalCasProcessor |
produceLocalCasProcessor(String aName,
String aSoFa) |
static org.apache.uima.collection.metadata.NameValuePair |
produceNameValuePair() |
static org.apache.uima.collection.metadata.CpeRemoteCasProcessor |
produceRemoteCasProcessor(String aName) |
static org.apache.uima.collection.metadata.CpeResourceManagerConfiguration |
produceResourceManagerConfiguration(String aResourceMgrConfigurationPath) |
static org.apache.uima.collection.metadata.CpeResourceManagerConfiguration |
produceResourceManagerConfiguration(String aResourceMgrConfigurationPath,
org.apache.uima.collection.metadata.CpeDescription aDescriptor) |
static org.apache.uima.collection.metadata.CasProcessorRunInSeperateProcess |
produceRunInSeperateProcess() |
static org.apache.uima.collection.metadata.CasProcessorRuntimeEnvParam |
produceRuntimeEnvParam() |
static org.apache.uima.collection.metadata.CpeSofaMapping |
produceSofaMapping() |
static org.apache.uima.collection.metadata.CpeSofaMappings |
produceSofaMappings() |
public static org.apache.uima.collection.metadata.CpeDescription produceDescriptor()
public static org.apache.uima.collection.metadata.CpeDescription produceDescriptor(org.apache.uima.util.XMLInputSource aInput)
throws org.apache.uima.util.InvalidXMLException
aInput - identifies the input fileorg.apache.uima.util.InvalidXMLException - if the descriptor is invalidpublic static org.apache.uima.collection.metadata.CpeDescription produceDescriptor(InputStream aInput) throws org.apache.uima.util.InvalidXMLException
aInput - identifies the input streamorg.apache.uima.util.InvalidXMLException - if the descriptor is invalidpublic static org.apache.uima.collection.metadata.CpeCollectionReader produceCollectionReader(String aCollectionReaderDescriptorPath, org.apache.uima.collection.metadata.CpeDescription aDescriptor) throws org.apache.uima.collection.metadata.CpeDescriptorException
aCollectionReaderDescriptorPath - a path to the collection reader descriptoraDescriptor - the descriptor to associate the collection reader withorg.apache.uima.collection.metadata.CpeDescriptorException - if there is a failurepublic static org.apache.uima.collection.metadata.CpeCollectionReader produceCollectionReader(String aCollectionReaderDescriptorPath) throws org.apache.uima.collection.metadata.CpeDescriptorException
org.apache.uima.collection.metadata.CpeDescriptorExceptionpublic static org.apache.uima.collection.metadata.CpeCollectionReader produceCollectionReader()
throws org.apache.uima.collection.metadata.CpeDescriptorException
org.apache.uima.collection.metadata.CpeDescriptorExceptionpublic static org.apache.uima.collection.metadata.CpeCollectionReaderIterator produceCollectionReaderIterator(String aPath) throws org.apache.uima.collection.metadata.CpeDescriptorException
org.apache.uima.collection.metadata.CpeDescriptorException@Deprecated public static org.apache.uima.collection.metadata.CpeCollectionReaderCasInitializer produceCollectionReaderCasInitializer(String aPath, org.apache.uima.collection.metadata.CpeDescription aDescriptor) throws org.apache.uima.collection.metadata.CpeDescriptorException
aPath - don't useaDescriptor - don't useorg.apache.uima.collection.metadata.CpeDescriptorException - passed thru@Deprecated protected static org.apache.uima.collection.metadata.CpeCollectionReaderCasInitializer produceCollectionReaderCasInitializer(String aInitializerDescriptorPath)
aInitializerDescriptorPath - path to the initializer descriptorpublic static org.apache.uima.collection.metadata.CpeComponentDescriptor produceComponentDescriptor(String aPath)
aPath - The path to the the CPE component Descriptorpublic static org.apache.uima.collection.metadata.CpeConfiguration produceCpeConfiguration(org.apache.uima.collection.metadata.CpeDescription aDescriptor)
throws org.apache.uima.collection.metadata.CpeDescriptorException
aDescriptor - CPE descriptor to useorg.apache.uima.collection.metadata.CpeDescriptorException - if it failspublic static org.apache.uima.collection.metadata.CpeConfiguration produceCpeConfiguration()
throws org.apache.uima.collection.metadata.CpeDescriptorException
org.apache.uima.collection.metadata.CpeDescriptorExceptionpublic static org.apache.uima.collection.metadata.CasProcessorRuntimeEnvParam produceRuntimeEnvParam()
public static org.apache.uima.collection.metadata.CasProcessorDeploymentParams produceDeployParams()
public static org.apache.uima.collection.metadata.CasProcessorDeploymentParam produceDeployParam()
public static org.apache.uima.collection.metadata.CpeInclude produceComponentDescriptorInclude()
public static org.apache.uima.collection.metadata.CpeCasProcessors produceCasProcessors(org.apache.uima.collection.metadata.CpeDescription aDescriptor)
throws org.apache.uima.collection.metadata.CpeDescriptorException
aDescriptor - to use to produce the CPE CAS Processorsorg.apache.uima.collection.metadata.CpeDescriptorException - if an error occurspublic static org.apache.uima.collection.metadata.CpeCasProcessors produceCasProcessors()
throws org.apache.uima.collection.metadata.CpeDescriptorException
org.apache.uima.collection.metadata.CpeDescriptorExceptionpublic static org.apache.uima.collection.metadata.CpeCasProcessors produceCasProcessors(int aInputQSize,
int aOutputQSize,
int aPuCount,
org.apache.uima.collection.metadata.CpeDescription aDescriptor)
throws org.apache.uima.collection.metadata.CpeDescriptorException
aInputQSize - the input queue sizeaOutputQSize - the output queue sizeaPuCount - the number of processing unitsaDescriptor - the CPE descriptororg.apache.uima.collection.metadata.CpeDescriptorException - if an error occurspublic static org.apache.uima.collection.metadata.CpeIntegratedCasProcessor produceCasProcessor(String aName)
public static org.apache.uima.collection.metadata.CpeLocalCasProcessor produceLocalCasProcessor(String aName, String aSoFa) throws org.apache.uima.collection.metadata.CpeDescriptorException
aName - the processor nameaSoFa - the processor SofAorg.apache.uima.collection.metadata.CpeDescriptorException - if an error occurspublic static org.apache.uima.collection.metadata.CpeRemoteCasProcessor produceRemoteCasProcessor(String aName) throws org.apache.uima.collection.metadata.CpeDescriptorException
aName - the processor nameorg.apache.uima.collection.metadata.CpeDescriptorException - if an error occurspublic static org.apache.uima.collection.metadata.CpeTimer produceCpeTimer(String aTimerClass)
public static org.apache.uima.collection.metadata.CpeResourceManagerConfiguration produceResourceManagerConfiguration(String aResourceMgrConfigurationPath, org.apache.uima.collection.metadata.CpeDescription aDescriptor) throws org.apache.uima.collection.metadata.CpeDescriptorException
org.apache.uima.collection.metadata.CpeDescriptorExceptionpublic static org.apache.uima.collection.metadata.CpeResourceManagerConfiguration produceResourceManagerConfiguration(String aResourceMgrConfigurationPath) throws org.apache.uima.collection.metadata.CpeDescriptorException
org.apache.uima.collection.metadata.CpeDescriptorExceptionpublic static org.apache.uima.collection.metadata.CasProcessorTimeout produceCasProcessorTimeout()
public static org.apache.uima.collection.metadata.CasProcessorMaxRestarts produceCasProcessorMaxRestarts()
public static org.apache.uima.collection.metadata.CasProcessorErrorRateThreshold produceCasProcessorErrorRateThreshold()
public static org.apache.uima.collection.metadata.CasProcessorFilter produceCasProcessorFilter(String aFilter)
aFilter - the filter stringpublic static org.apache.uima.collection.metadata.CasProcessorErrorHandling produceCasProcessorErrorHandling()
public static org.apache.uima.collection.metadata.CpeCheckpoint produceCpeCheckpoint()
public static org.apache.uima.collection.metadata.CasProcessorDeploymentParams produceCasProcessorDeploymentParams()
public static org.apache.uima.collection.metadata.CasProcessorExecArg produceCasProcessorExecArg()
public static org.apache.uima.collection.metadata.CasProcessorExecutable produceCasProcessorExecutable()
public static org.apache.uima.collection.metadata.CasProcessorRunInSeperateProcess produceRunInSeperateProcess()
public static org.apache.uima.collection.metadata.CasProcessorConfigurationParameterSettings produceCasProcessorConfigurationParameterSettings()
public static org.apache.uima.collection.metadata.NameValuePair produceNameValuePair()
public static org.apache.uima.collection.metadata.CpeSofaMapping produceSofaMapping()
public static org.apache.uima.collection.metadata.CpeSofaMappings produceSofaMappings()
Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.