public interface HintManager
Modifier and Type | Interface and Description |
---|---|
static class |
HintManager.Context
A number of different contexts that hints may be displayed for.
|
Modifier and Type | Method and Description |
---|---|
List<Hint> |
getAllHints(ApplicationUser user,
JiraHelper helper)
Get all hints visible in given user context.
|
Hint |
getHintForContext(ApplicationUser remoteUser,
JiraHelper jiraHelper,
HintManager.Context context)
Given a valid
HintManager.Context this method returns a random
link for that context. |
Hint |
getRandomHint(ApplicationUser user,
JiraHelper jiraHelper)
Get random hint visible in given user context.
|
Hint getRandomHint(ApplicationUser user, JiraHelper jiraHelper)
user
- current userjiraHelper
- JIRA helperList<Hint> getAllHints(ApplicationUser user, JiraHelper helper)
user
- current userhelper
- JIRA helperHint getHintForContext(ApplicationUser remoteUser, JiraHelper jiraHelper, HintManager.Context context)
HintManager.Context
this method returns a random
link for that context. May be null if no hints exist for the context specified.remoteUser
- The current userjiraHelper
- JIRA helpercontext
- The context to display a hint forCopyright © 2002-2016 Atlassian. All Rights Reserved.