You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/08/25 19:37:01 UTC

[jira] [Commented] (TAMAYA-401) Clarify API for PropertyValue, ObjectValue, ListValue

    [ https://issues.apache.org/jira/browse/TAMAYA-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16915329#comment-16915329 ] 

ASF subversion and git services commented on TAMAYA-401:
--------------------------------------------------------

Commit 1eb836caadbfa70c854fe5849a0d6fa86996602c in incubator-tamaya-site's branch refs/heads/vote-0.4-incubating-01 from Anatole Tresch
[ https://gitbox.apache.org/repos/asf?p=incubator-tamaya-site.git;h=1eb836c ]

TAMAYA-398 TAMAYA-399 TAMAYA-400 TAMAYA-401 TAMAYA-402 TAMAYA-403 TAMAYA-404 TAMAYA-405 TAMAYA-406 TAMAYA-407 Added/updated docs.


> Clarify API for PropertyValue, ObjectValue, ListValue
> -----------------------------------------------------
>
>                 Key: TAMAYA-401
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-401
>             Project: Tamaya
>          Issue Type: New Feature
>          Components: API
>            Reporter: Anatole Tresch
>            Assignee: Anatole Tresch
>            Priority: Major
>             Fix For: 0.4-incubating
>
>
> Clarify the API, e.g.:
>  * *getPropertyValue* always _returns_ a PropertyValue
>  * *getValue* always _returns_ a (resolved) String.
>  * {{_remove_ Collection<PropertyValue> getValues(Predicate<PropertyValue> predicate). It can be implemented easily by clients.}}
>  * {{_remove_ PropertyValue toPropertyValue(). Instances already are of that type.}}
>  * _add_ ObjectValue setValues(Map<String, String> config) to ObjectValue..
>  * _add_-Methods already return the objects added, whereas _set_-Methods always returned the instance the call is operated on (builder style).
>  * {{add public static ObjectValue from(Collection<PropertyValue> values) on ObjectValue.}}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)