tamaya-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anatole Tresch (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TAMAYA-401) Clarify API for PropertyValue, ObjectValue, ListValue
Date Tue, 14 May 2019 15:02:00 GMT

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

Anatole Tresch resolved TAMAYA-401.
-----------------------------------
    Resolution: Fixed

> 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
(v7.6.3#76005)

Mime
View raw message