com.atlassian.confluence.util.breadcrumbs
Class SimpleBreadcrumb
java.lang.Object
com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
com.atlassian.confluence.util.breadcrumbs.SimpleBreadcrumb
- All Implemented Interfaces:
- Breadcrumb
public final class SimpleBreadcrumb
- extends AbstractBreadcrumb
Simple or default breadcrumb just wraps a i18n key and path.
Constructor Summary |
SimpleBreadcrumb(String i18nKey,
String path)
Constructs a simple breadcrumb with parent Dashboard and the given text and URL. |
SimpleBreadcrumb
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"
getParent
protected Breadcrumb getParent()
- Description copied from class:
AbstractBreadcrumb
- Gets the parent breadcrumb. By default the dashboard breadcrumb is returned.
- Specified by:
getParent
in class AbstractBreadcrumb
- Returns:
- the parent breadcrumb.