com.atlassian.jira.admin.quicknav
Class StaticSimpleLinksAliasProvider
java.lang.Object
com.atlassian.jira.admin.quicknav.StaticSimpleLinksAliasProvider
- All Implemented Interfaces:
- SimpleLinkAliasProvider
public class StaticSimpleLinksAliasProvider
- extends Object
- implements SimpleLinkAliasProvider
Default implementation of SimpleLinkAliasProvider
. Retrieves keywords from
JIRA's i18n resources and caches them for better performance.
Only works for simple links based on static web items, that contain a parameter KEYWORD_PARAM_NAME
.
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEYWORD_PARAM_NAME
public static final String KEYWORD_PARAM_NAME
- See Also:
- Constant Field Values
StaticSimpleLinksAliasProvider
public StaticSimpleLinksAliasProvider()
aliasesFor
public Set<String> aliasesFor(SimpleLinkSection section,
SimpleLink link,
JiraAuthenticationContext ctx)
- Description copied from interface:
SimpleLinkAliasProvider
-
Get aliases for given simple link in given context.
If given link is not supported in given context, an empty set should be returned.
- Specified by:
aliasesFor
in interface SimpleLinkAliasProvider
- Parameters:
section
- main section of the link, may be null
link
- linkctx
- authentication context
- Returns:
- set of aliases for given link, or empty set if link not supported by this provider
Copyright © 2002-2012 Atlassian. All Rights Reserved.