You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Anatole Tresch (JIRA)" <ji...@apache.org> on 2016/02/02 02:12:39 UTC
[jira] [Created] (TAMAYA-136) Return structure when accessing a
singletPropertyValue
Anatole Tresch created TAMAYA-136:
-------------------------------------
Summary: Return structure when accessing a singletPropertyValue
Key: TAMAYA-136
URL: https://issues.apache.org/jira/browse/TAMAYA-136
Project: Tamaya
Issue Type: Bug
Components: API
Affects Versions: 0.1-incubating
Reporter: Anatole Tresch
Assignee: Anatole Tresch
Fix For: 0.2-incubating
Return structure when accessing a singlet PropertyValue from the PropertySource SPI. So
{noformat}String get/String key){noformat}
will be changed to
{noformat}
PropertyValue get(String key);
{noformat}
This allows the SPI to deal with additional metadata in a similar way as it is possible, when accessing all properties using {{Map<String,String> getProperties();}}.
A {{PropertyValue}} hereby is designed as an immutable value object containing
* the requested key ({{String}})
* the value ({{String}})
* the {{Map<String,String>}} representing any kinf of additional context data.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)