Package com.atlassian.breadcrumbs
Class BaseCrumb
java.lang.Object
com.atlassian.breadcrumbs.BaseCrumb
- All Implemented Interfaces:
BreadCrumb
- Direct Known Subclasses:
BuildCrumb
,BuildResultSummaryCrumb
,ChainBranchesCrumb
,ChainConfigCrumb
,ChainCrumb
,ChainResultSummaryCrumb
,JobConfigCrumb
,JobResultCrumb
,ProjectCrumb
Base class for implementors of
BreadCrumb
s-
Field Summary
-
Constructor Summary
ConstructorDescriptionBaseCrumb
(javax.servlet.http.HttpServletRequest request, com.opensymphony.xwork2.Action action) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected String
createUrl
(String actionName, String nameSpace, String key1, String value1, String key2, String value2) Returns a key as an access keyprotected String
protected boolean
protected boolean
isInCurrentPath
(String path) void
setAction
(com.opensymphony.xwork2.Action action) void
setRequest
(javax.servlet.http.HttpServletRequest request) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.breadcrumbs.BreadCrumb
getChildCrumbs, getLabel, getUrl, isCurrentPage, isShown
-
Field Details
-
request
protected javax.servlet.http.HttpServletRequest request -
action
protected com.opensymphony.xwork2.Action action -
BROWSE_PREFIX
- See Also:
-
NUMBER_PREFIX
- See Also:
-
-
Constructor Details
-
BaseCrumb
public BaseCrumb(javax.servlet.http.HttpServletRequest request, com.opensymphony.xwork2.Action action)
-
-
Method Details
-
isInCurrentPath
-
getText
-
createUrl
-
createUrl
-
isAnyChildShown
protected boolean isAnyChildShown() -
setRequest
public void setRequest(javax.servlet.http.HttpServletRequest request) -
setAction
public void setAction(com.opensymphony.xwork2.Action action) -
getAccessKey
Description copied from interface:BreadCrumb
Returns a key as an access key- Specified by:
getAccessKey
in interfaceBreadCrumb
- Returns:
- null if doesn't exist
-
getLabelWithAccessKeyUnderlined
-