Class SimpleBreadcrumb
- java.lang.Object
 - 
- com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
 - 
- com.atlassian.confluence.util.breadcrumbs.SimpleBreadcrumb
 
 
 
- 
- All Implemented Interfaces:
 Breadcrumb
- Direct Known Subclasses:
 BlogCrumb,EmptyBreadcrumb
public class SimpleBreadcrumb extends AbstractBreadcrumb
Simple or default breadcrumb just wraps a i18n key and path. 
- 
- 
Field Summary
- 
Fields inherited from class com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
cssClass, displayTitle, filterTrailingBreadcrumb, MAX_BREADCRUMBS, target, title, tooltip 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SimpleBreadcrumb(String i18nKey, String path)Constructs a simple breadcrumb with no parent and the given text and URL.SimpleBreadcrumb(String i18nKey, String path, Breadcrumb parent)Constructs a simple breadcrumb with the provided parent and the given text and URL. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BreadcrumbgetParent()Gets the parent breadcrumb.- 
Methods inherited from class com.atlassian.confluence.util.breadcrumbs.AbstractBreadcrumb
filterTrailingBreadcrumb, getBreadcrumbsTrail, getCssClass, getDisplayTitle, getMyCrumbs, getTarget, getTitle, getTooltip, setCssClass, setFilterTrailingBreadcrumb, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
SimpleBreadcrumb
public SimpleBreadcrumb(String i18nKey, String path)
Constructs a simple breadcrumb with no parent and the given text and URL.- Parameters:
 i18nKey- eg "people.directory.name"path- eg "/peopledirectory.action"
 
- 
SimpleBreadcrumb
public SimpleBreadcrumb(String i18nKey, String path, Breadcrumb parent)
Constructs a simple breadcrumb with the provided parent and the given text and URL.- Parameters:
 i18nKey- eg "people.directory.name"path- eg "/peopledirectory.action"parent- the parent breadcrumb
 
 - 
 
- 
Method Detail
- 
getParent
protected Breadcrumb getParent()
Description copied from class:AbstractBreadcrumbGets the parent breadcrumb. By default the dashboard breadcrumb is returned.- Specified by:
 getParentin classAbstractBreadcrumb- Returns:
 - the parent breadcrumb.
 
 
 - 
 
 -