org.apache.uima.collection.metadata
Interface CasProcessorConfigurationParameterSettings


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.
 Object getParameterValue(String aParamName)
          Looks up the value of a parameter.
 void setParameterValue(String aParamName, 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

Object getParameterValue(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(String aParamName,
                       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 © 2010 The Apache Software Foundation. All Rights Reserved.