Interface HintManager

All Known Implementing Classes:
DefaultHintManager

public interface HintManager
Hint manager responsible for providing JIRA usage hints displayed to the users.
Since:
v4.2
  • Method Details

    • getRandomHint

      Hint getRandomHint(ApplicationUser user, JiraHelper jiraHelper)
      Get random hint visible in given user context.
      Parameters:
      user - current user
      jiraHelper - JIRA helper
      Returns:
      random hint
    • getAllHints

      List<Hint> getAllHints(ApplicationUser user, JiraHelper helper)
      Get all hints visible in given user context.
      Parameters:
      user - current user
      helper - JIRA helper
      Returns:
      all hints accessible to the user
    • getHintForContext

      Hint getHintForContext(ApplicationUser remoteUser, JiraHelper jiraHelper, HintManager.Context context)
      Given a valid HintManager.Context this method returns a random link for that context. May be null if no hints exist for the context specified.
      Parameters:
      remoteUser - The current user
      jiraHelper - JIRA helper
      context - The context to display a hint for
      Returns:
      A random hint for the context specified or null if none exist