public class

SubTaskViewOptionsFactory

extends Object
implements SimpleLinkFactory
java.lang.Object
   ↳ com.atlassian.jira.plugin.viewissue.SubTaskViewOptionsFactory

Class Overview

Factory to return the options for the different views for subtask list (All, Unresolved)

Summary

Public Constructors
SubTaskViewOptionsFactory(VelocityRequestContextFactory requestContextFactory, JiraAuthenticationContext authenticationContext)
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 SubTaskViewOptionsFactory (VelocityRequestContextFactory requestContextFactory, JiraAuthenticationContext authenticationContext)

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.