Class ContentActionBreadcrumb

  • All Implemented Interfaces:
    Breadcrumb

    public class ContentActionBreadcrumb
    extends AbstractSpaceActionBreadcrumb
    Represents a high level content action breadcrumb. The parent is dependent on the type of content being 'actioned' upon.

    Content supported are spaces, pages, blogs and labels.

    • Constructor Detail

      • ContentActionBreadcrumb

        @Deprecated(since="8.0",
                    forRemoval=true)
        public ContentActionBreadcrumb​(Action action,
                                       Space space,
                                       AbstractPage page,
                                       DisplayableLabel label,
                                       Breadcrumb spaceOperationsBreadcrumb)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 8.0 as this constructor exists solely to provide bytecode compatibility for plugins that were compiled against Confluence 7.x
        Do not use!
    • Method Detail

      • getMyCrumbs

        protected List getMyCrumbs()
        Description copied from class: AbstractBreadcrumb
        Returns a list of breadcrumbs for the current breadcrumb. For example, the BlogPostBreadcrumb overrides this method and returns 4 crumbs altogether to represent itself: 2007 > 11 > 28 > BlogTitle.

        By default my crumbs will be a list with size 1, containing itself, unless the current breadcrumb has no title.

        Overrides:
        getMyCrumbs in class AbstractBreadcrumb