[
https://issues.apache.org/jira/browse/TAMAYA-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917109#comment-16917109
]
ASF subversion and git services commented on TAMAYA-401:
--------------------------------------------------------
Commit 9f673319a67489973dfad4fff4ec189855239a57 in incubator-tamaya-site's
branch refs/heads/vote-0.4-incubating-01 from Hugo Hirsch
[ https://gitbox.apache.org/repos/asf?p=incubator-tamaya-site.git;h=9f67331 ]
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)