You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (Closed) (JIRA)" <de...@uima.apache.org> on 2011/11/16 22:57:51 UTC

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

     [ https://issues.apache.org/jira/browse/UIMA-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor closed UIMA-114.
-------------------------------

    
> Configuration parameter groups overly complicated
> -------------------------------------------------
>
>                 Key: UIMA-114
>                 URL: https://issues.apache.org/jira/browse/UIMA-114
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.3
>         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, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira