Interface CasProcessorRuntimeEnvParam
-
- All Superinterfaces:
java.lang.Cloneable,MetaDataObject,java.io.Serializable,XMLizable
- All Known Implementing Classes:
CasProcessorRuntimeEnvParamImpl
public interface CasProcessorRuntimeEnvParam extends MetaDataObject
An object that holds configuration that is part of the CPE descriptor. It provides the means of configuring environment variables used when launching local CasProcessors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetEnvParamName()Returns a name of parameterjava.lang.StringgetEnvParamValue()Returns parameter valuevoidsetEnvParamName(java.lang.String aEnvParamName)Sets a name for new parametervoidsetEnvParamValue(java.lang.String aEnvParamValue)Sets a value for new parameter-
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
-
setEnvParamName
void setEnvParamName(java.lang.String aEnvParamName) throws CpeDescriptorExceptionSets a name for new parameter- Parameters:
aEnvParamName- - param name- Throws:
CpeDescriptorException- tbd
-
getEnvParamName
java.lang.String getEnvParamName() throws CpeDescriptorExceptionReturns a name of parameter- Returns:
- - parm name
- Throws:
CpeDescriptorException- tbd
-
setEnvParamValue
void setEnvParamValue(java.lang.String aEnvParamValue) throws CpeDescriptorExceptionSets a value for new parameter- Parameters:
aEnvParamValue- - param value- Throws:
CpeDescriptorException- tbd
-
getEnvParamValue
java.lang.String getEnvParamValue() throws CpeDescriptorExceptionReturns parameter value- Returns:
- - param value
- Throws:
CpeDescriptorException- tbd
-
-