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 2014/12/18 23:28:13 UTC

[jira] [Updated] (TAMAYA-30) Introduce Codecs Feature

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

Anatole Tresch updated TAMAYA-30:
---------------------------------
    Description: 
Change {{PropertyAdapter}} to be bidirectional and rename it to {{Codec}} to specially encode properties. These codecs can be used by mutable configurations to encode changes in a flexible way and for adapt encoded values. This is very useful, when adding support for complex, multivalued and additional non-String types, that should be changeable as well. The changes required are:
* Rename {{PropertyAdapter}} to {{Codec}}
* Rename {{PropertyAdapters}} to {{Codecs}}
* Add additional method to {{Codec}} to enable bidirectionality
* Ensure write support for object types in {{ConfigChangeSet}} and corresponding builder.
* Ensure/adapt Javadoc
* Discuss default codesc for collections, multi values (combined) and more


  was:
Add Codecs to specially encode properties (additionally to adapters for decoding). These codecs can be used by mutable configurations to encode changes in a flexible way. This is very useful, when adding support for complex, multivalued and additional non-String types, that should be changeable as well. The changes required are:
* Add {{Codec}} interface (extending {{PropertyAdapter}})
* Let {{PropertyAdapters}} also load/manage codecs
* Add write support for object types in {{ConfigChangeSet}} and corresponding builder.
* Ensure/adapt Javadoc
* Discuss default codesc for collections, multi values (combined) and more


     Issue Type: Improvement  (was: New Feature)

> Introduce Codecs Feature
> ------------------------
>
>                 Key: TAMAYA-30
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-30
>             Project: Tamaya
>          Issue Type: Improvement
>          Components: API
>            Reporter: Anatole Tresch
>            Assignee: Anatole Tresch
>             Fix For: 0.1-incubating
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Change {{PropertyAdapter}} to be bidirectional and rename it to {{Codec}} to specially encode properties. These codecs can be used by mutable configurations to encode changes in a flexible way and for adapt encoded values. This is very useful, when adding support for complex, multivalued and additional non-String types, that should be changeable as well. The changes required are:
> * Rename {{PropertyAdapter}} to {{Codec}}
> * Rename {{PropertyAdapters}} to {{Codecs}}
> * Add additional method to {{Codec}} to enable bidirectionality
> * Ensure write support for object types in {{ConfigChangeSet}} and corresponding builder.
> * Ensure/adapt Javadoc
> * Discuss default codesc for collections, multi values (combined) and more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)