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