public final class

SimpleBreadcrumb

extends AbstractBreadcrumb
java.lang.Object
   ↳ com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
     ↳ com.atlassian.confluence.util.breadcrumbs.SimpleBreadcrumb

Class Overview

Simple or default breadcrumb just wraps a i18n key and path.

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
Public Constructors
SimpleBreadcrumb(String i18nKey, String path)
Constructs a simple breadcrumb with parent Dashboard and the given text and URL.
Protected Methods
Breadcrumb getParent()
Gets the parent breadcrumb.
[Expand]
Inherited Methods
From class com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
From class java.lang.Object
From interface com.atlassian.confluence.util.breadcrumbs.Breadcrumb

Public Constructors

public SimpleBreadcrumb (String i18nKey, String path)

Constructs a simple breadcrumb with parent Dashboard and the given text and URL.

Parameters
i18nKey eg "people.directory.name"
path eg "/peopledirectory.action"

Protected Methods

protected Breadcrumb getParent ()

Gets the parent breadcrumb. By default the dashboard breadcrumb is returned.

Returns
  • the parent breadcrumb.