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] [Created] (TAMAYA-401) Calrify API for PropertyValue, ObjectValze, ListValue
Date Mon, 13 May 2019 23:49:00 GMT
Anatole Tresch created TAMAYA-401:

             Summary: Calrify API for PropertyValue, ObjectValze, 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
             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

View raw message