public class WhisperMessageProvider extends Object implements com.atlassian.whisper.plugin.api.MessagesProvider
Constructor and Description |
---|
WhisperMessageProvider(com.atlassian.sal.api.user.UserManager userManager,
JiraAuthenticationContext authContext,
com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService,
I18nHelper i18nHelper,
HelpUrls helpUrls,
com.atlassian.plugin.PluginAccessor pluginAccessor) |
Modifier and Type | Method and Description |
---|---|
Set<com.atlassian.whisper.plugin.api.Message> |
getMessages() |
Set<com.atlassian.whisper.plugin.api.Message> |
getMessagesForUser(com.atlassian.sal.api.user.UserProfile userProfile) |
boolean |
hasMessages() |
boolean |
hasMessages(com.atlassian.sal.api.user.UserProfile user) |
public WhisperMessageProvider(com.atlassian.sal.api.user.UserManager userManager, JiraAuthenticationContext authContext, com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService, I18nHelper i18nHelper, HelpUrls helpUrls, com.atlassian.plugin.PluginAccessor pluginAccessor)
public Set<com.atlassian.whisper.plugin.api.Message> getMessagesForUser(com.atlassian.sal.api.user.UserProfile userProfile)
getMessagesForUser
in interface com.atlassian.whisper.plugin.api.MessagesProvider
public Set<com.atlassian.whisper.plugin.api.Message> getMessages()
getMessages
in interface com.atlassian.whisper.plugin.api.MessagesProvider
public boolean hasMessages()
hasMessages
in interface com.atlassian.whisper.plugin.api.MessagesProvider
public boolean hasMessages(com.atlassian.sal.api.user.UserProfile user)
hasMessages
in interface com.atlassian.whisper.plugin.api.MessagesProvider
Copyright © 2002-2022 Atlassian. All Rights Reserved.