com.atlassian.breadcrumbs.build.result
Class AllBuildTestResultsCrumb

java.lang.Object
  extended by com.atlassian.breadcrumbs.BaseCrumb
      extended by com.atlassian.breadcrumbs.build.result.AbstractBuildResultsCrumb
          extended by com.atlassian.breadcrumbs.build.result.AllBuildTestResultsCrumb
All Implemented Interfaces:
BreadCrumb

public class AllBuildTestResultsCrumb
extends AbstractBuildResultsCrumb

Crumbs for the page that lists tests for a given BuildResultsImpl


Field Summary
 
Fields inherited from class com.atlassian.breadcrumbs.BaseCrumb
action, BROWSE_PREFIX, request
 
Constructor Summary
AllBuildTestResultsCrumb(javax.servlet.http.HttpServletRequest request, com.opensymphony.xwork.Action action)
           
 
Method Summary
protected  java.lang.String getActionName()
          The action name represented by the crumb.
 java.util.Collection getChildCrumbs()
          Returns the children crumbs.
protected  java.lang.String getLabelKey()
          Gets the internationalised key for the label
 
Methods inherited from class com.atlassian.breadcrumbs.build.result.AbstractBuildResultsCrumb
getLabel, getUrl, isCurrentPage, isShown
 
Methods inherited from class com.atlassian.breadcrumbs.BaseCrumb
createUrl, createUrl, getAccessKey, getLabelWithAccessKeyUnderlined, getText, isAnyChildShown, isInCurrentPath, setAction, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllBuildTestResultsCrumb

public AllBuildTestResultsCrumb(javax.servlet.http.HttpServletRequest request,
                                com.opensymphony.xwork.Action action)
Method Detail

getActionName

protected java.lang.String getActionName()
Description copied from class: AbstractBuildResultsCrumb
The action name represented by the crumb. No .action suffix should be added

Specified by:
getActionName in class AbstractBuildResultsCrumb
Returns:
must not be null. Must not contain ".action" suffix

getLabelKey

protected java.lang.String getLabelKey()
Description copied from class: AbstractBuildResultsCrumb
Gets the internationalised key for the label

Specified by:
getLabelKey in class AbstractBuildResultsCrumb
Returns:
must not be null

getChildCrumbs

public java.util.Collection getChildCrumbs()
Description copied from interface: BreadCrumb
Returns the children crumbs. This is not as sinister as it sounds! The bread crumb will iterate throught each chil crumb until one returns true for BreadCrumb.isShown() and then it'll follow down that crumb tree

Specified by:
getChildCrumbs in interface BreadCrumb
Overrides:
getChildCrumbs in class AbstractBuildResultsCrumb
Returns:
Collection of BreadCrumb objects. Collections.EMPTY_LIST if no child crumbs


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.