org.apache.uima.collection.metadata
Interface CasProcessorConfigurationParameterSettings

All Known Implementing Classes:
CasProcessorConfigurationParameterSettingsImpl

public interface CasProcessorConfigurationParameterSettings

Contains configuration parameter settings for a CAS Processor. These settings override settings in the CAS Processor's descriptor.


Method Summary
 NameValuePair[] getParameterSettings()
          Gets the settings for configuration parameters that are not in any group.
 java.lang.Object getParameterValue(java.lang.String aParamName)
          Looks up the value of a parameter.
 void setParameterValue(java.lang.String aParamName, java.lang.Object aValue)
          Sets the value of a parameter.
 

Method Detail

getParameterSettings

NameValuePair[] getParameterSettings()
Gets the settings for configuration parameters that are not in any group.

Returns:
an array of NameValuePair objects, each of which contains a parameter name and the value of that parameter

getParameterValue

java.lang.Object getParameterValue(java.lang.String aParamName)
Looks up the value of a parameter.

Parameters:
aParamName - the name of a parameter
Returns:
the value of the parameter with name aParamName

setParameterValue

void setParameterValue(java.lang.String aParamName,
                       java.lang.Object aValue)
Sets the value of a parameter.

Parameters:
aParamName - the name of a parameter that is not in any group
aValue - the value to assign to the parameter. This must be a String, Boolean, Integer, Float, or an array of one of those types.


Copyright © 2012. All Rights Reserved.