[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKDESC-6) Should support to merge two Descriptors of the same type
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Thu Aug 25 13:43:18 EDT 2011
[ https://issues.jboss.org/browse/SHRINKDESC-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624087#comment-12624087 ]
Andrew Rubinger commented on SHRINKDESC-6:
------------------------------------------
Lessons learned from jboss-metadata:
Do not mix the logic of "merging" into the object model of the metadata itself. This is fine for us to provide a contract for an external entity to come along and merge 2 instances into a target, but let's be sure we don't put this into the Descriptors themselves.
> Should support to merge two Descriptors of the same type
> --------------------------------------------------------
>
> Key: SHRINKDESC-6
> URL: https://issues.jboss.org/browse/SHRINKDESC-6
> Project: ShrinkWrap Descriptors
> Issue Type: Feature Request
> Reporter: Aslak Knutsen
>
> e.g.
> DescriptorDef<T extends Descriptor>
> {
> void merge(T source)
> }
> This might be a feature of Descriptor and not the DescriptorDef wrapper
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list