You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2015/01/08 18:41:35 UTC

[jira] [Updated] (OAK-2307) Provide API to create Tree from NodeState

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

angela updated OAK-2307:
------------------------
    Attachment: OAK-2307.patch

initial proposal to allow for accessing read-only tree and root objects without exposing the implementation.

in contrast to the original proposal by [~mduerig], it felt more naturally to me to add factory interfaces for this and add them to the plugin.tree package. consequently i decided to move the actually implementations to a subpackage, thus allowing to export the plugin.tree packages containing just the TreeLocation class and the new factory.

note: i omitted classes affected by the moved implementations from the patch.

> Provide API to create Tree from NodeState
> -----------------------------------------
>
>                 Key: OAK-2307
>                 URL: https://issues.apache.org/jira/browse/OAK-2307
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Chetan Mehrotra
>            Assignee: Michael Dürig
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: OAK-2307.patch
>
>
> Oak Core should provide a way to construct {{Tree}} instances from {{NodeState}}. As noted in [1] its not possible to export the tree related packages due to current design issue we need to provide way for users to create Tree from NodeState
> [1] http://markmail.org/thread/o5yzdsm3pb234h7m



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