com.atlassian.jira.admin.quicknav
Class ProjectKeyAliasProvider

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

public class ProjectKeyAliasProvider
extends Object
implements SimpleLinkAliasProvider

Provides alias for simple links to projects containing their name/key.

Since:
v4.4

Constructor Summary
ProjectKeyAliasProvider()
           
 
Method Summary
 Set<String> aliasesFor(SimpleLinkSection section, 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

ProjectKeyAliasProvider

public ProjectKeyAliasProvider()
Method Detail

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 - link
ctx - 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.