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

public abstract class BaseCrumb extends Object implements BreadCrumb
Base class for implementors of BreadCrumbs
  • Field Details

    • request

      protected javax.servlet.http.HttpServletRequest request
    • action

      protected com.opensymphony.xwork2.Action action
    • BROWSE_PREFIX

      protected static final String BROWSE_PREFIX
      See Also:
    • NUMBER_PREFIX

      protected static final String NUMBER_PREFIX
      See Also:
  • Constructor Details

    • BaseCrumb

      public BaseCrumb(javax.servlet.http.HttpServletRequest request, com.opensymphony.xwork2.Action action)
  • Method Details

    • isInCurrentPath

      protected boolean isInCurrentPath(String path)
    • getText

      protected String getText(String key)
    • createUrl

      protected String createUrl(String actionName, String nameSpace, String key1, String value1)
    • createUrl

      protected String createUrl(String actionName, String nameSpace, String key1, String value1, String key2, String value2)
    • isAnyChildShown

      protected boolean isAnyChildShown()
    • setRequest

      public void setRequest(javax.servlet.http.HttpServletRequest request)
    • setAction

      public void setAction(com.opensymphony.xwork2.Action action)
    • getAccessKey

      public 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 String getLabelWithAccessKeyUnderlined()