You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Michael Baessler (JIRA)" <ui...@incubator.apache.org> on 2006/12/11 17:59:23 UTC

[jira] Commented: (UIMA-114) Configuration parameter groups overly complicated

    [ http://issues.apache.org/jira/browse/UIMA-114?page=comments#action_12457411 ] 
            
Michael Baessler commented on UIMA-114:
---------------------------------------

The design seems fine with me... all my points are covered.

- we can retrieve all available suffix names

- we can retrieve all configuration parameters for a suffix

- we can have a default fallback strategy if a parameter with a specific suffix does not exist.



> Configuration parameter groups overly complicated
> -------------------------------------------------
>
>                 Key: UIMA-114
>                 URL: http://issues.apache.org/jira/browse/UIMA-114
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>         Environment: Configuration parameter overrides
>            Reporter: Eddie Epstein
>
> The design of configuration parameter groups is overly complicated. The required capabilities could be achieved with the following design:
> Define a base configuration parameter name as those characters up to the first '.' character.
> Define a configuration parameter suffix as those characters after the first '.' character.
> Replace the API
>    getConfigParameterValue(String aGroupName, String aParamName)
> with
>    getConfigParameterValue(String aSuffixName, String aParamName)
> and implement the following behavior:
>   if aParameterName.aSuffixName does not exist, attempt to return the object for aParameterName
> The APIs getConfigParameterNames(String aSuffixName)  could easily be implemented. 
> and getConfigurationGroupNames() replaced with getConfigurationSuffixNames()
> This design will simplify the descriptor, the framework implementation and particularly the descriptor tools GUI

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira