com.atlassian.jira.admin.quicknav
Class SectionNameAliasProvider

java.lang.Object
  extended by com.atlassian.jira.admin.quicknav.SectionNameAliasProvider
All Implemented Interfaces:
SimpleLinkAliasProvider

public class SectionNameAliasProvider
extends Object
implements SimpleLinkAliasProvider

SimpleLinkAliasProvider that adds section name to the aliases for given link.

Since:
v4.4

Constructor Summary
SectionNameAliasProvider()
           
 
Method Summary
 Set<String> aliasesFor(SimpleLinkSection mainSection, SimpleLink link, JiraAuthenticationContext ctx)
          

Get aliases for given simple link in given context.

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SectionNameAliasProvider

public SectionNameAliasProvider()
Method Detail

aliasesFor

public Set<String> aliasesFor(SimpleLinkSection mainSection,
                              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:
mainSection - main section of the link, may be null
link - link
ctx - authentication context
Returns:
set of aliases for given link, or empty set if link not supported by this provider


Copyright © 2002-2011 Atlassian. All Rights Reserved.