Package com.atlassian.breadcrumbs.chain
Class JobConfigCrumb
java.lang.Object
com.atlassian.breadcrumbs.BaseCrumb
com.atlassian.breadcrumbs.chain.JobConfigCrumb
- All Implemented Interfaces:
BreadCrumb
-
Field Summary
Fields inherited from class com.atlassian.breadcrumbs.BaseCrumb
action, BROWSE_PREFIX, NUMBER_PREFIX, request
-
Constructor Summary
ConstructorDescriptionJobConfigCrumb
(javax.servlet.http.HttpServletRequest request, com.opensymphony.xwork2.Action action) -
Method Summary
Modifier and TypeMethodDescriptionReturns the children crumbs.getLabel()
Returns the visible label for the bread crumbgetUrl()
Returns the URL for the given labelboolean
Returns true if the currenBreadCrumb
should be selectedboolean
isShown()
Should theBreadCrumb
be shown?Methods inherited from class com.atlassian.breadcrumbs.BaseCrumb
createUrl, createUrl, getAccessKey, getLabelWithAccessKeyUnderlined, getText, isAnyChildShown, isInCurrentPath, setAction, setRequest
-
Constructor Details
-
JobConfigCrumb
public JobConfigCrumb(javax.servlet.http.HttpServletRequest request, com.opensymphony.xwork2.Action action)
-
-
Method Details
-
isShown
public boolean isShown()Description copied from interface:BreadCrumb
Should theBreadCrumb
be shown?- Returns:
- true if it should be displayed
-
isCurrentPage
public boolean isCurrentPage()Description copied from interface:BreadCrumb
Returns true if the currenBreadCrumb
should be selected- Returns:
- true or false
-
getLabel
Description copied from interface:BreadCrumb
Returns the visible label for the bread crumb- Returns:
- string, cannot be null
-
getUrl
Description copied from interface:BreadCrumb
Returns the URL for the given label- Returns:
- URL of label. No context is added
-
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 forBreadCrumb.isShown()
and then it'll follow down that crumb tree- Returns:
Collection
ofBreadCrumb
objects.Collections.emptyList()
if no child crumbs
-