public class CpeDescriptionImpl
extends org.apache.uima.resource.metadata.impl.MetaDataObject_impl
implements org.apache.uima.collection.metadata.CpeDescription
org.apache.uima.resource.metadata.impl.MetaDataObject_impl.MetaDataAttr, org.apache.uima.resource.metadata.impl.MetaDataObject_impl.SerialContext, org.apache.uima.resource.metadata.impl.MetaDataObject_impl.Serializer| Constructor and Description |
|---|
CpeDescriptionImpl()
Instantiates a new cpe description impl.
|
CpeDescriptionImpl(org.apache.uima.util.XMLInputSource aInput)
Instantiates a new cpe description impl.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.uima.collection.metadata.CpeCollectionReaderCasInitializer |
addCasInitializer(String aInitializerDescriptorPath)
Deprecated.
As of v2.0, CAS Initializers are deprecated.
|
void |
addCasProcessor(org.apache.uima.collection.metadata.CpeCasProcessor aCasProcessor) |
void |
addCasProcessor(int index,
org.apache.uima.collection.metadata.CpeCasProcessor aCasProcessor) |
void |
addCollectionReader(org.apache.uima.collection.metadata.CpeCollectionReader aCollectionReader) |
org.apache.uima.collection.metadata.CpeCollectionReader |
addCollectionReader(String aCollectionReaderPath) |
org.apache.uima.collection.metadata.CpeCollectionReader[] |
getAllCollectionCollectionReaders() |
org.apache.uima.collection.metadata.CpeCasProcessors |
getCpeCasProcessors() |
org.apache.uima.collection.metadata.CpeConfiguration |
getCpeConfig()
Gets the cpe config.
|
org.apache.uima.collection.metadata.CpeConfiguration |
getCpeConfiguration() |
org.apache.uima.collection.metadata.CpeResourceManagerConfiguration |
getCpeResourceManagerConfiguration()
Gets the cpe resource manager configuration.
|
org.apache.uima.collection.metadata.CpeResourceManagerConfiguration |
getResourceManagerConfiguration() |
protected org.apache.uima.resource.metadata.impl.XmlizationInfo |
getXmlizationInfo() |
protected void |
readUnknownPropertyValueFromXMLElement(Element aElement,
org.apache.uima.util.XMLParser aParser,
org.apache.uima.util.XMLParser.ParsingOptions aOptions,
List aKnownPropertyNames) |
void |
setAllCollectionCollectionReaders(org.apache.uima.collection.metadata.CpeCollectionReader[] areaders) |
void |
setCheckpoint(String aCheckpointFile,
int aFrequency) |
void |
setCpeCasProcessors(org.apache.uima.collection.metadata.CpeCasProcessors aCasProcessors) |
void |
setCpeConfig(org.apache.uima.collection.metadata.CpeConfiguration aConfiguration)
Sets the cpe config.
|
void |
setCpeConfiguration(org.apache.uima.collection.metadata.CpeConfiguration aConfiguration) |
void |
setCpeResourceManagerConfiguration(org.apache.uima.collection.metadata.CpeResourceManagerConfiguration aResMgrConfPagth) |
void |
setDeployment(String aDeployMode) |
void |
setInputQueueSize(int aSize)
Deprecated.
|
void |
setNumToProcess(long aEntityCount) |
void |
setOutputQueueSize(int aSize)
Deprecated.
|
void |
setProcessingUnitThreadCount(int aSize) |
void |
setResourceManagerConfiguration(String aResMgrConfPagth) |
void |
setStartingEntityId(String aStartEntityId) |
void |
setTimer(String aTimerClass) |
buildFromXMLElement, buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElementfinalize, getClass, notify, notifyAll, wait, wait, waitpublic CpeDescriptionImpl()
public CpeDescriptionImpl(org.apache.uima.util.XMLInputSource aInput)
throws org.apache.uima.util.InvalidXMLException
aInput - the a inputorg.apache.uima.util.InvalidXMLException - the invalid XML exceptionpublic void addCollectionReader(org.apache.uima.collection.metadata.CpeCollectionReader aCollectionReader)
throws org.apache.uima.collection.metadata.CpeDescriptorException
addCollectionReader in interface org.apache.uima.collection.metadata.CpeDescriptionorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic org.apache.uima.collection.metadata.CpeCollectionReader addCollectionReader(String aCollectionReaderPath) throws org.apache.uima.collection.metadata.CpeDescriptorException
addCollectionReader in interface org.apache.uima.collection.metadata.CpeDescriptionorg.apache.uima.collection.metadata.CpeDescriptorException@Deprecated public org.apache.uima.collection.metadata.CpeCollectionReaderCasInitializer addCasInitializer(String aInitializerDescriptorPath) throws org.apache.uima.collection.metadata.CpeDescriptorException
addCasInitializer in interface org.apache.uima.collection.metadata.CpeDescriptionaInitializerDescriptorPath - the a initializer descriptor pathorg.apache.uima.collection.metadata.CpeDescriptorException - the cpe descriptor exceptionpublic org.apache.uima.collection.metadata.CpeCollectionReader[] getAllCollectionCollectionReaders()
throws org.apache.uima.collection.metadata.CpeDescriptorException
getAllCollectionCollectionReaders in interface org.apache.uima.collection.metadata.CpeDescriptionorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic void setAllCollectionCollectionReaders(org.apache.uima.collection.metadata.CpeCollectionReader[] areaders)
throws org.apache.uima.collection.metadata.CpeDescriptorException
setAllCollectionCollectionReaders in interface org.apache.uima.collection.metadata.CpeDescriptionorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic void setResourceManagerConfiguration(String aResMgrConfPagth)
setResourceManagerConfiguration in interface org.apache.uima.collection.metadata.CpeDescriptionpublic void setCpeResourceManagerConfiguration(org.apache.uima.collection.metadata.CpeResourceManagerConfiguration aResMgrConfPagth)
setCpeResourceManagerConfiguration in interface org.apache.uima.collection.metadata.CpeDescriptionpublic org.apache.uima.collection.metadata.CpeResourceManagerConfiguration getCpeResourceManagerConfiguration()
@Deprecated public void setInputQueueSize(int aSize) throws org.apache.uima.collection.metadata.CpeDescriptorException
setInputQueueSize in interface org.apache.uima.collection.metadata.CpeDescriptionaSize - the new input queue sizeorg.apache.uima.collection.metadata.CpeDescriptorException - the cpe descriptor exceptionpublic void setProcessingUnitThreadCount(int aSize)
throws org.apache.uima.collection.metadata.CpeDescriptorException
setProcessingUnitThreadCount in interface org.apache.uima.collection.metadata.CpeDescriptionorg.apache.uima.collection.metadata.CpeDescriptorException@Deprecated public void setOutputQueueSize(int aSize) throws org.apache.uima.collection.metadata.CpeDescriptorException
setOutputQueueSize in interface org.apache.uima.collection.metadata.CpeDescriptionaSize - the new output queue sizeorg.apache.uima.collection.metadata.CpeDescriptorException - the cpe descriptor exceptionpublic void setCpeCasProcessors(org.apache.uima.collection.metadata.CpeCasProcessors aCasProcessors)
setCpeCasProcessors in interface org.apache.uima.collection.metadata.CpeDescriptionpublic org.apache.uima.collection.metadata.CpeCasProcessors getCpeCasProcessors()
throws org.apache.uima.collection.metadata.CpeDescriptorException
getCpeCasProcessors in interface org.apache.uima.collection.metadata.CpeDescriptionorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic void addCasProcessor(org.apache.uima.collection.metadata.CpeCasProcessor aCasProcessor)
throws org.apache.uima.collection.metadata.CpeDescriptorException
addCasProcessor in interface org.apache.uima.collection.metadata.CpeDescriptionorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic void addCasProcessor(int index,
org.apache.uima.collection.metadata.CpeCasProcessor aCasProcessor)
throws org.apache.uima.collection.metadata.CpeDescriptorException
addCasProcessor in interface org.apache.uima.collection.metadata.CpeDescriptionorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic void setCpeConfiguration(org.apache.uima.collection.metadata.CpeConfiguration aConfiguration)
setCpeConfiguration in interface org.apache.uima.collection.metadata.CpeDescriptionpublic org.apache.uima.collection.metadata.CpeConfiguration getCpeConfiguration()
throws org.apache.uima.collection.metadata.CpeDescriptorException
getCpeConfiguration in interface org.apache.uima.collection.metadata.CpeDescriptionorg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic void setCpeConfig(org.apache.uima.collection.metadata.CpeConfiguration aConfiguration)
aConfiguration - the new cpe configpublic org.apache.uima.collection.metadata.CpeConfiguration getCpeConfig()
throws org.apache.uima.collection.metadata.CpeDescriptorException
org.apache.uima.collection.metadata.CpeDescriptorException - the cpe descriptor exceptionpublic void setCheckpoint(String aCheckpointFile, int aFrequency)
setCheckpoint in interface org.apache.uima.collection.metadata.CpeDescriptionpublic void setDeployment(String aDeployMode)
setDeployment in interface org.apache.uima.collection.metadata.CpeDescriptionpublic void setNumToProcess(long aEntityCount)
setNumToProcess in interface org.apache.uima.collection.metadata.CpeDescriptionpublic void setStartingEntityId(String aStartEntityId)
setStartingEntityId in interface org.apache.uima.collection.metadata.CpeDescriptionpublic void setTimer(String aTimerClass)
setTimer in interface org.apache.uima.collection.metadata.CpeDescriptionpublic org.apache.uima.collection.metadata.CpeResourceManagerConfiguration getResourceManagerConfiguration()
getResourceManagerConfiguration in interface org.apache.uima.collection.metadata.CpeDescriptionprotected void readUnknownPropertyValueFromXMLElement(Element aElement, org.apache.uima.util.XMLParser aParser, org.apache.uima.util.XMLParser.ParsingOptions aOptions, List aKnownPropertyNames) throws org.apache.uima.util.InvalidXMLException
readUnknownPropertyValueFromXMLElement in class org.apache.uima.resource.metadata.impl.MetaDataObject_implorg.apache.uima.util.InvalidXMLExceptionprotected org.apache.uima.resource.metadata.impl.XmlizationInfo getXmlizationInfo()
getXmlizationInfo in class org.apache.uima.resource.metadata.impl.MetaDataObject_implCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.