public class

AdminHistoryLinkFactory

extends Object
implements SimpleLinkFactory
java.lang.Object
   ↳ com.atlassian.jira.admin.AdminHistoryLinkFactory

Class Overview

A SimpleLinkFactory that produces links to Administration Pages for recently viewed administration pages

Summary

Public Constructors
AdminHistoryLinkFactory(UserAdminHistoryManager userAdminHistoryManager, DefaultSimpleLinkManager defaultSimpleLinkManager, PluginAccessor pluginAccessor, ApplicationProperties applicationProperties)
Public Methods
List<SimpleLink> getLinks(User user, Map<StringObject> params)
Generates a list of SimpleLink objects.
void init(SimpleLinkFactoryModuleDescriptor descriptor)
Initialization method for the factory.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.plugin.webfragment.SimpleLinkFactory

Public Constructors

public AdminHistoryLinkFactory (UserAdminHistoryManager userAdminHistoryManager, DefaultSimpleLinkManager defaultSimpleLinkManager, PluginAccessor pluginAccessor, ApplicationProperties applicationProperties)

Public Methods

public List<SimpleLink> getLinks (User user, Map<StringObject> params)

Generates a list of SimpleLink objects.

Parameters
user The user this list is being generated for.
Returns
  • a list of SimpleLink objects tailored for the user.

public void init (SimpleLinkFactoryModuleDescriptor descriptor)

Initialization method for the factory. Used to retrieve information off the module descriptor

Parameters
descriptor The descriptor responsible for defining this factory.