|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.collection.impl.metadata.cpe.CasProcessorCpeObject
org.apache.uima.collection.impl.metadata.cpe.CpeLocalCasProcessorImpl
public class CpeLocalCasProcessorImpl
| Constructor Summary | |
|---|---|
|
CpeLocalCasProcessorImpl()
|
|
CpeLocalCasProcessorImpl(boolean initializeWithDefaultValues)
|
protected |
CpeLocalCasProcessorImpl(java.lang.String aName,
java.lang.String aSoFa)
|
| Method Summary | |
|---|---|
protected void |
addDefaults()
Adds default configuration shared by CasProcessors |
void |
addExecArg(java.lang.String aArgValue)
|
void |
addExecEnv(java.lang.String aEnvKeyName,
java.lang.String aEnvKeyValue)
Adds a new env key to the list of env keys. |
java.util.List |
getExecArgs()
|
java.util.List |
getExecEnv()
|
java.lang.String |
getExecutable()
Returns a name of a program to use when launching this CasProcessor |
CasProcessorRunInSeperateProcess |
getRunInSeperateProcess()
|
boolean |
isJava()
Returns true if the local Cas Processor is a java program |
void |
removeExecArg(int aIndex)
|
void |
removeExecEnv(int aIndex)
|
void |
setExecutable(java.lang.String aCasProcessorExecutable)
Defines the name of a program to run when launching this Cas Processor. |
void |
setIsJava(boolean aJava)
Defines if this Cas Processor is a java program |
void |
setRunInSeperateProcess(CasProcessorRunInSeperateProcess aSepProcess)
|
| Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl |
|---|
buildFromXMLElement, clone, equals, getAttributeClass, getAttributeValue, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSourceUrl, getSourceUrlString, getWrapperClass, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, setAttributeValue, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElement |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject |
|---|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl |
| Methods inherited from interface org.apache.uima.util.XMLizable |
|---|
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML |
| Constructor Detail |
|---|
public CpeLocalCasProcessorImpl()
public CpeLocalCasProcessorImpl(boolean initializeWithDefaultValues)
protected CpeLocalCasProcessorImpl(java.lang.String aName,
java.lang.String aSoFa)
throws CpeDescriptorException
CpeDescriptorException| Method Detail |
|---|
public void addExecArg(java.lang.String aArgValue)
throws CpeDescriptorException
addExecArg in interface CpeLocalCasProcessorCpeDescriptorException
public void removeExecArg(int aIndex)
throws CpeDescriptorException
CpeDescriptorException
public java.util.List getExecArgs()
throws CpeDescriptorException
CpeDescriptorException
protected void addDefaults()
throws CpeDescriptorException
CasProcessorCpeObject
addDefaults in class CasProcessorCpeObjectCpeDescriptorException
public boolean isJava()
throws CpeDescriptorException
CpeLocalCasProcessor
isJava in interface CpeLocalCasProcessorCpeDescriptorException
public void addExecEnv(java.lang.String aEnvKeyName,
java.lang.String aEnvKeyValue)
throws CpeDescriptorException
addExecEnv in interface CpeLocalCasProcessorCpeDescriptorException
public java.util.List getExecEnv()
throws CpeDescriptorException
CpeDescriptorException
public void removeExecEnv(int aIndex)
throws CpeDescriptorException
CpeDescriptorException
public void setExecutable(java.lang.String aCasProcessorExecutable)
throws CpeDescriptorException
CpeLocalCasProcessor
setExecutable in interface CpeLocalCasProcessoraCasProcessorExecutable - -
name of a program
CpeDescriptorException
public java.lang.String getExecutable()
throws CpeDescriptorException
CpeLocalCasProcessor
getExecutable in interface CpeLocalCasProcessorCpeDescriptorException
public void setIsJava(boolean aJava)
throws CpeDescriptorException
CpeLocalCasProcessor
setIsJava in interface CpeLocalCasProcessoraJava - -
true if java, false otherwise
CpeDescriptorException
public void setRunInSeperateProcess(CasProcessorRunInSeperateProcess aSepProcess)
throws CpeDescriptorException
setRunInSeperateProcess in interface CpeLocalCasProcessorCpeDescriptorException
public CasProcessorRunInSeperateProcess getRunInSeperateProcess()
throws CpeDescriptorException
getRunInSeperateProcess in interface CpeLocalCasProcessorCpeDescriptorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||