com.atlassian.breadcrumbs
Class BaseCrumb
java.lang.Object
com.atlassian.breadcrumbs.BaseCrumb
- All Implemented Interfaces:
- BreadCrumb
- Direct Known Subclasses:
- AbstractBuildCrumb, AbstractBuildResultsCrumb, AdminCrumb, AllProjectCrumb, BuildCrumb, BuildResultSummaryCrumb, ChainCrumb, ChainResultSummaryCrumb, ProjectCrumb
public abstract class BaseCrumb
- extends java.lang.Object
- implements BreadCrumb
Base class for implementors of BreadCrumb
s
Field Summary |
protected com.opensymphony.xwork.Action |
action
|
protected static java.lang.String |
BROWSE_PREFIX
|
protected javax.servlet.http.HttpServletRequest |
request
|
Constructor Summary |
BaseCrumb(javax.servlet.http.HttpServletRequest request,
com.opensymphony.xwork.Action action)
|
Method Summary |
protected java.lang.String |
createUrl(java.lang.String actionName,
java.lang.String nameSpace,
java.lang.String key1,
java.lang.String value1)
|
protected java.lang.String |
createUrl(java.lang.String actionName,
java.lang.String nameSpace,
java.lang.String key1,
java.lang.String value1,
java.lang.String key2,
java.lang.String value2)
|
java.lang.String |
getAccessKey()
Returns a key as an access key |
java.lang.String |
getLabelWithAccessKeyUnderlined()
|
protected java.lang.String |
getText(java.lang.String key)
|
protected boolean |
isAnyChildShown()
|
protected boolean |
isInCurrentPath(java.lang.String path)
|
void |
setAction(com.opensymphony.xwork.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 |
request
protected javax.servlet.http.HttpServletRequest request
action
protected com.opensymphony.xwork.Action action
BROWSE_PREFIX
protected static final java.lang.String BROWSE_PREFIX
- See Also:
- Constant Field Values
BaseCrumb
public BaseCrumb(javax.servlet.http.HttpServletRequest request,
com.opensymphony.xwork.Action action)
isInCurrentPath
protected boolean isInCurrentPath(java.lang.String path)
getText
protected java.lang.String getText(java.lang.String key)
createUrl
protected java.lang.String createUrl(java.lang.String actionName,
java.lang.String nameSpace,
java.lang.String key1,
java.lang.String value1)
createUrl
protected java.lang.String createUrl(java.lang.String actionName,
java.lang.String nameSpace,
java.lang.String key1,
java.lang.String value1,
java.lang.String key2,
java.lang.String value2)
isAnyChildShown
protected boolean isAnyChildShown()
setRequest
public void setRequest(javax.servlet.http.HttpServletRequest request)
setAction
public void setAction(com.opensymphony.xwork.Action action)
getAccessKey
public java.lang.String getAccessKey()
- Description copied from interface:
BreadCrumb
- Returns a key as an access key
- Specified by:
getAccessKey
in interface BreadCrumb
- Returns:
- null if doesn't exist
getLabelWithAccessKeyUnderlined
public java.lang.String getLabelWithAccessKeyUnderlined()
Copyright © 2010 Atlassian. All Rights Reserved.