Interface HelpUrls

All Superinterfaces:
Iterable<HelpUrl>
All Known Implementing Classes:
CachingHelpUrls, MockHelpUrls

@ExperimentalApi @ThreadSafe public interface HelpUrls extends Iterable<HelpUrl>
A mapping of keys to HelpUrls.
Since:
v6.2.4
  • Method Details

    • getUrl

      @Nonnull HelpUrl getUrl(@Nonnull String key)
      Returns a HelpUrl associated with the passed key. The getDefaultUrl() URL is returned if the key has no associated URL.
      Parameters:
      key - the key to search for.
      Returns:
      the HelpUrl
    • getDefaultUrl

      @Nonnull HelpUrl getDefaultUrl()
      Returns a HelpUrl that can be used for generic Jira help. It commonly points at the Jira help index/landing page.
      Returns:
      the default HelpUrl for this instance.
    • getUrlKeys

      @Nonnull Set<String> getUrlKeys()
      Return all the keys that have an associated HelpUrl.
      Returns:
      all the keys that have an associated HelpUrl.
    • getUrlForApplication

      @Nonnull HelpUrl getUrlForApplication(@Nonnull com.atlassian.application.api.ApplicationKey applicationKey, @Nonnull String key)
      Adds the ability to retrieve HelpUrl specific to an application and key passed in. The getDefaultUrl() URL is returned if the key has no associated URL.
      Parameters:
      applicationKey - the application to find help urls for
      key - the key to search for.
      Returns:
      the HelpUrl
      Since:
      7.0