Class CasProcessorConfigurationParameterSettingsImpl
java.lang.Object
org.apache.uima.collection.impl.metadata.cpe.CasProcessorConfigurationParameterSettingsImpl
- All Implemented Interfaces:
CasProcessorConfigurationParameterSettings
public class CasProcessorConfigurationParameterSettingsImpl
extends Object
implements CasProcessorConfigurationParameterSettings
The Class CasProcessorConfigurationParameterSettingsImpl.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstantiates a new cas processor configuration parameter settings impl.protectedInstantiates a new cas processor configuration parameter settings impl. -
Method Summary
Modifier and TypeMethodDescriptionGets the settings for configuration parameters that are not in any group.getParameterValue(String aParamName) Looks up the value of a parameter.voidsetParameterValue(String aParamName, Object aValue) Sets the value of a parameter.
-
Constructor Details
-
CasProcessorConfigurationParameterSettingsImpl
protected CasProcessorConfigurationParameterSettingsImpl()Instantiates a new cas processor configuration parameter settings impl. -
CasProcessorConfigurationParameterSettingsImpl
Instantiates a new cas processor configuration parameter settings impl.- Parameters:
aCps- the a cps
-
-
Method Details
-
getParameterSettings
Description copied from interface:CasProcessorConfigurationParameterSettingsGets the settings for configuration parameters that are not in any group.- Specified by:
getParameterSettingsin interfaceCasProcessorConfigurationParameterSettings- Returns:
- an array of
NameValuePairobjects, each of which contains a parameter name and the value of that parameter
-
getParameterValue
Description copied from interface:CasProcessorConfigurationParameterSettingsLooks up the value of a parameter.- Specified by:
getParameterValuein interfaceCasProcessorConfigurationParameterSettings- Parameters:
aParamName- the name of a parameter- Returns:
- the value of the parameter with name
aParamName
-
setParameterValue
Description copied from interface:CasProcessorConfigurationParameterSettingsSets the value of a parameter.- Specified by:
setParameterValuein interfaceCasProcessorConfigurationParameterSettings- Parameters:
aParamName- the name of a parameter that is not in any groupaValue- the value to assign to the parameter. This must be a String, Boolean, Integer, Float, or an array of one of those types.
-