public class CpeLocalCasProcessorImpl extends CasProcessorCpeObject implements CpeLocalCasProcessor
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
serialContext
Modifier | Constructor and Description |
---|---|
|
CpeLocalCasProcessorImpl() |
|
CpeLocalCasProcessorImpl(boolean initializeWithDefaultValues) |
protected |
CpeLocalCasProcessorImpl(String aName,
String aSoFa) |
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() |
List |
getExecEnv() |
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(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) |
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, setTimeout
buildFromXMLElement, 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, writePropertyAsElement
finalize, getClass, notify, notifyAll, wait, wait, wait
addDeployParam, 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, setTimeout
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
public CpeLocalCasProcessorImpl()
public CpeLocalCasProcessorImpl(boolean initializeWithDefaultValues)
protected CpeLocalCasProcessorImpl(String aName, String aSoFa) throws CpeDescriptorException
CpeDescriptorException
public void addExecArg(String aArgValue) throws CpeDescriptorException
addExecArg
in interface CpeLocalCasProcessor
CpeDescriptorException
public void removeExecArg(int aIndex) throws CpeDescriptorException
CpeDescriptorException
public List getExecArgs() throws CpeDescriptorException
CpeDescriptorException
protected void addDefaults() throws CpeDescriptorException
CasProcessorCpeObject
addDefaults
in class CasProcessorCpeObject
CpeDescriptorException
- tbdpublic boolean isJava() throws CpeDescriptorException
CpeLocalCasProcessor
isJava
in interface CpeLocalCasProcessor
CpeDescriptorException
- -public void addExecEnv(String aEnvKeyName, String aEnvKeyValue) throws CpeDescriptorException
addExecEnv
in interface CpeLocalCasProcessor
CpeDescriptorException
public List getExecEnv() throws CpeDescriptorException
CpeDescriptorException
public void removeExecEnv(int aIndex) throws CpeDescriptorException
CpeDescriptorException
public void setExecutable(String aCasProcessorExecutable) throws CpeDescriptorException
CpeLocalCasProcessor
setExecutable
in interface CpeLocalCasProcessor
aCasProcessorExecutable
- -
name of a programCpeDescriptorException
- tbdpublic String getExecutable() throws CpeDescriptorException
CpeLocalCasProcessor
getExecutable
in interface CpeLocalCasProcessor
CpeDescriptorException
- tbdpublic void setIsJava(boolean aJava) throws CpeDescriptorException
CpeLocalCasProcessor
setIsJava
in interface CpeLocalCasProcessor
aJava
- -
true if java, false otherwiseCpeDescriptorException
- -public void setRunInSeperateProcess(CasProcessorRunInSeperateProcess aSepProcess) throws CpeDescriptorException
setRunInSeperateProcess
in interface CpeLocalCasProcessor
CpeDescriptorException
public CasProcessorRunInSeperateProcess getRunInSeperateProcess() throws CpeDescriptorException
getRunInSeperateProcess
in interface CpeLocalCasProcessor
CpeDescriptorException
Copyright © 2017. All rights reserved.