Class ItemStorage<T extends ObjectPath>

    • Constructor Detail

      • ItemStorage

        public ItemStorage()
    • Method Detail

      • getObjectPath

        public abstract T getObjectPath​(Item item,
                                        String path)
        Given an item and path, return an ObjectPath implementation for it
        Parameters:
        item - The item to associate the path with
        path - The path scoped by the item
        Returns:
        The ObjectPath to act upon that path
      • getObjectPathForBranch

        public abstract T getObjectPathForBranch​(Item item,
                                                 String path,
                                                 String branch)
        Given an item, a path and a branch, return an ObjectPath implementation for it
        Parameters:
        item - The item to associate the path with
        path - The path scoped by the item
        branch - The branch for which to get the object path for
        Returns:
        The ObjectPath to act upon that path