public class CpeLocalCasProcessorImpl extends CasProcessorCpeObject implements org.apache.uima.collection.metadata.CpeLocalCasProcessor
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| Modifier | Constructor and Description |
|---|---|
|
CpeLocalCasProcessorImpl()
Instantiates a new cpe local cas processor impl.
|
|
CpeLocalCasProcessorImpl(boolean initializeWithDefaultValues)
Instantiates a new cpe local cas processor impl.
|
protected |
CpeLocalCasProcessorImpl(String aName,
String aSoFa)
Instantiates a new cpe local cas processor impl.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDefaults()
Adds default configuration shared by CasProcessors.
|
void |
addExecArg(String aArgValue) |
void |
addExecEnv(String aEnvKeyName,
String aEnvKeyValue)
Adds a new env key to the list of env keys.
|
List |
getExecArgs()
Gets the exec args.
|
List |
getExecEnv()
Gets the exec env.
|
String |
getExecutable() |
org.apache.uima.collection.metadata.CasProcessorRunInSeperateProcess |
getRunInSeperateProcess() |
boolean |
isJava() |
void |
removeExecArg(int aIndex)
Removes the exec arg.
|
void |
removeExecEnv(int aIndex)
Removes the exec env.
|
void |
setExecutable(String aCasProcessorExecutable) |
void |
setIsJava(boolean aJava) |
void |
setRunInSeperateProcess(org.apache.uima.collection.metadata.CasProcessorRunInSeperateProcess aSepProcess) |
addDeployParam, buildFromXMLElement, getActionOnMaxError, getActionOnMaxRestart, getBatchSize, getCasProcessorFilter, getCheckpoint, getConfigurationParameterSettings, getCpeComponentDescriptor, getDeployment, getDeploymentParameters, getDeploymentParams, getDescriptor, getErrorHandling, getFilter, getIsParallelizable, getMaxErrorCount, getMaxErrorSampleSize, getMaxRestartCount, getName, getParameters, getParameterSettings, getRunInSeparateProcess, getSOFA, getSofaNameMappings, getTimeout, getXMLAttributes, getXmlizationInfo, setActionOnMaxError, setActionOnMaxRestart, setBatchSize, setCasProcessorFilter, setCasProcessorFilter, setCheckpoint, setConfigurationParameterSettings, setCpeComponentDescriptor, setDeployment, setDeploymentParameters, setDeploymentParams, setDescriptor, setErrorHandling, setFilter, setIsParallelizable, setMaxErrorCount, setMaxErrorSampleSize, setMaxRestartCount, setName, setParameters, setParameterSettings, setRunInSeparateProcess, setSOFA, setSofaNameMappings, setTimeoutbuildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElementfinalize, getClass, notify, notifyAll, wait, wait, waitaddDeployParam, getActionOnMaxError, getActionOnMaxRestart, getBatchSize, getCasProcessorFilter, getCheckpoint, getConfigurationParameterSettings, getCpeComponentDescriptor, getDeployment, getDeploymentParams, getDescriptor, getErrorHandling, getIsParallelizable, getMaxErrorCount, getMaxErrorSampleSize, getMaxRestartCount, getName, getRunInSeparateProcess, getSOFA, getSofaNameMappings, getTimeout, setActionOnMaxError, setActionOnMaxRestart, setBatchSize, setCasProcessorFilter, setConfigurationParameterSettings, setCpeComponentDescriptor, setDescriptor, setIsParallelizable, setMaxErrorCount, setMaxErrorSampleSize, setMaxRestartCount, setName, setSOFA, setSofaNameMappings, setTimeoutpublic CpeLocalCasProcessorImpl()
public CpeLocalCasProcessorImpl(boolean initializeWithDefaultValues)
initializeWithDefaultValues - the initialize with default valuesprotected CpeLocalCasProcessorImpl(String aName, String aSoFa) throws org.apache.uima.collection.metadata.CpeDescriptorException
aName - the a nameaSoFa - the a so faorg.apache.uima.collection.metadata.CpeDescriptorException - the cpe descriptor exceptionpublic void addExecArg(String aArgValue) throws org.apache.uima.collection.metadata.CpeDescriptorException
addExecArg in interface org.apache.uima.collection.metadata.CpeLocalCasProcessororg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic void removeExecArg(int aIndex)
throws org.apache.uima.collection.metadata.CpeDescriptorException
aIndex - the a indexorg.apache.uima.collection.metadata.CpeDescriptorException - the cpe descriptor exceptionpublic List getExecArgs() throws org.apache.uima.collection.metadata.CpeDescriptorException
org.apache.uima.collection.metadata.CpeDescriptorException - the cpe descriptor exceptionprotected void addDefaults()
throws org.apache.uima.collection.metadata.CpeDescriptorException
CasProcessorCpeObjectaddDefaults in class CasProcessorCpeObjectorg.apache.uima.collection.metadata.CpeDescriptorException - tbdpublic boolean isJava()
throws org.apache.uima.collection.metadata.CpeDescriptorException
isJava in interface org.apache.uima.collection.metadata.CpeLocalCasProcessororg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic void addExecEnv(String aEnvKeyName, String aEnvKeyValue) throws org.apache.uima.collection.metadata.CpeDescriptorException
addExecEnv in interface org.apache.uima.collection.metadata.CpeLocalCasProcessoraEnvKeyName - the a env key nameaEnvKeyValue - the a env key valueorg.apache.uima.collection.metadata.CpeDescriptorException - the cpe descriptor exceptionpublic List getExecEnv() throws org.apache.uima.collection.metadata.CpeDescriptorException
org.apache.uima.collection.metadata.CpeDescriptorException - the cpe descriptor exceptionpublic void removeExecEnv(int aIndex)
throws org.apache.uima.collection.metadata.CpeDescriptorException
aIndex - the a indexorg.apache.uima.collection.metadata.CpeDescriptorException - the cpe descriptor exceptionpublic void setExecutable(String aCasProcessorExecutable) throws org.apache.uima.collection.metadata.CpeDescriptorException
setExecutable in interface org.apache.uima.collection.metadata.CpeLocalCasProcessororg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic String getExecutable() throws org.apache.uima.collection.metadata.CpeDescriptorException
getExecutable in interface org.apache.uima.collection.metadata.CpeLocalCasProcessororg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic void setIsJava(boolean aJava)
throws org.apache.uima.collection.metadata.CpeDescriptorException
setIsJava in interface org.apache.uima.collection.metadata.CpeLocalCasProcessororg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic void setRunInSeperateProcess(org.apache.uima.collection.metadata.CasProcessorRunInSeperateProcess aSepProcess)
throws org.apache.uima.collection.metadata.CpeDescriptorException
setRunInSeperateProcess in interface org.apache.uima.collection.metadata.CpeLocalCasProcessororg.apache.uima.collection.metadata.CpeDescriptorExceptionpublic org.apache.uima.collection.metadata.CasProcessorRunInSeperateProcess getRunInSeperateProcess()
throws org.apache.uima.collection.metadata.CpeDescriptorException
getRunInSeperateProcess in interface org.apache.uima.collection.metadata.CpeLocalCasProcessororg.apache.uima.collection.metadata.CpeDescriptorExceptionCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.