Constructor and Description |
---|
CachingHelpUrls(HelpUrlsLoader loader,
ResourceBundleCacheCleaner resourceBundleCacheCleaner) |
Modifier and Type | Method and Description |
---|---|
void |
clearCache(ClearCacheEvent cacheEvent) |
HelpUrl |
getDefaultUrl()
Returns a
HelpUrl that can be used for generic JIRA help. |
HelpUrl |
getUrl(String key)
Returns a
HelpUrl associated with the passed key. |
Set<String> |
getUrlKeys()
Return all the keys that have an associated
HelpUrl . |
Iterator<HelpUrl> |
iterator() |
void |
jiraStarted(JiraStartedEvent event) |
void |
pluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event) |
void |
pluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event) |
void |
pluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event) |
void |
pluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event) |
void |
pluginRefreshed(com.atlassian.plugin.event.events.PluginRefreshedEvent event) |
public CachingHelpUrls(HelpUrlsLoader loader, ResourceBundleCacheCleaner resourceBundleCacheCleaner)
@Nonnull public HelpUrl getUrl(@Nonnull String key)
HelpUrls
HelpUrl
associated with the passed key. The HelpUrls.getDefaultUrl()
URL is returned if the key
has no associated URL.@Nonnull public HelpUrl getDefaultUrl()
HelpUrls
HelpUrl
that can be used for generic JIRA help. It commonly points
at the JIRA help index/landing page.getDefaultUrl
in interface HelpUrls
HelpUrl
for this instance.@Nonnull public Set<String> getUrlKeys()
HelpUrls
HelpUrl
.getUrlKeys
in interface HelpUrls
HelpUrl
.@EventListener public void clearCache(ClearCacheEvent cacheEvent)
@EventListener public void pluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event)
@EventListener public void pluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event)
@EventListener public void pluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event)
@EventListener public void pluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event)
@EventListener public void pluginRefreshed(com.atlassian.plugin.event.events.PluginRefreshedEvent event)
@EventListener public void jiraStarted(JiraStartedEvent event)
Copyright © 2002-2015 Atlassian. All Rights Reserved.