com.atlassian.breadcrumbs.build
Class AllTestsCrumb

java.lang.Object
  extended by com.atlassian.breadcrumbs.BaseCrumb
      extended by com.atlassian.breadcrumbs.build.AbstractBuildCrumb
          extended by com.atlassian.breadcrumbs.build.AllTestsCrumb
All Implemented Interfaces:
BreadCrumb

public class AllTestsCrumb
extends AbstractBuildCrumb

Crumb for generic all tests page for build


Field Summary
 
Fields inherited from class com.atlassian.breadcrumbs.BaseCrumb
action, BROWSE_PREFIX, request
 
Constructor Summary
AllTestsCrumb(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.AbstractBuildCrumb
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

AllTestsCrumb

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

getActionName

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

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

getLabelKey

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

Specified by:
getLabelKey in class AbstractBuildCrumb
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 AbstractBuildCrumb
Returns:
Collection of BreadCrumb objects. Collections.EMPTY_LIST if no child crumbs


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.