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

Jerry Cwiklik updated UIMA-5545:
--------------------------------
    Description: The PerformanceMetrics class should provide toString() 
convenience method to extract metrics from Properties. Currently the user code 
has to call get() which returns List<Properties> and iterate over this. If all 
the user wants is to log metrics, toString() convenience method would hide all 
the details of this iteration and instead would return formatted string ready 
for logging.  (was: The IPerformanceMetrics interface and all implementations 
should provide toString() override to extract metrics from Properties. 
Currently the user code has to call get() which returns List<Properties> and 
iterate over this. If all the user wants is to log metrics, toString() 
convenience method would hide all the details of this iteration and instead 
would return formatted string ready for logging.)
        Summary: UIMA-DUCC: add toString() to PerformanceMetrics   (was: 
UIMA-DUCC: add toString() to IPerformanceMetrics )

> UIMA-DUCC: add toString() to PerformanceMetrics 
> ------------------------------------------------
>
>                 Key: UIMA-5545
>                 URL: https://issues.apache.org/jira/browse/UIMA-5545
>             Project: UIMA
>          Issue Type: Improvement
>          Components: DUCC
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.2.2-Ducc
>
>
> The PerformanceMetrics class should provide toString() convenience method to 
> extract metrics from Properties. Currently the user code has to call get() 
> which returns List<Properties> and iterate over this. If all the user wants 
> is to log metrics, toString() convenience method would hide all the details 
> of this iteration and instead would return formatted string ready for logging.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to