|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CpeLocalCasProcessor
An object that holds configuration that is part of the CPE descriptor. Provides the means of defining and obtaining configuration for CasProcessors deployed locally, ie same machine as CPE but different process.
Its basic functionality is inherited from
CpeCasProcessor
Method Summary | |
---|---|
void |
addExecArg(String aArgValue)
|
void |
addExecEnv(String aEnvParamName,
String aEnvParamValue)
|
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 |
setExecutable(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 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 |
Method Detail |
---|
boolean isJava() throws CpeDescriptorException
CpeDescriptorException
void setIsJava(boolean aJava) throws CpeDescriptorException
aJava
- -
true if java, false otherwise
CpeDescriptorException
void setExecutable(String aCasProcessorExecutable) throws CpeDescriptorException
aCasProcessorExecutable
- -
name of a program
CpeDescriptorException
String getExecutable() throws CpeDescriptorException
CpeDescriptorException
void addExecEnv(String aEnvParamName, String aEnvParamValue) throws CpeDescriptorException
CpeDescriptorException
void addExecArg(String aArgValue) throws CpeDescriptorException
CpeDescriptorException
void setRunInSeperateProcess(CasProcessorRunInSeperateProcess aSepProcess) throws CpeDescriptorException
CpeDescriptorException
CasProcessorRunInSeperateProcess getRunInSeperateProcess() throws CpeDescriptorException
CpeDescriptorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |