public class

SortingValuesGenerator

extends Object
implements ValuesGenerator<K>
java.lang.Object
   ↳ com.atlassian.jira.portal.SortingValuesGenerator

Summary

Constants
String SORT_BY_LEAST_COMPLETED
String SORT_BY_MOST_COMPLETED
[Expand]
Inherited Fields
From interface com.atlassian.configurable.ValuesGenerator
Public Constructors
SortingValuesGenerator()
Public Methods
Map getValues(Map userParams)
Map of choices to use
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.configurable.ValuesGenerator

Constants

public static final String SORT_BY_LEAST_COMPLETED

Constant Value: "least"

public static final String SORT_BY_MOST_COMPLETED

Constant Value: "most"

Public Constructors

public SortingValuesGenerator ()

Public Methods

public Map getValues (Map userParams)

Map of choices to use

Parameters
userParams Used to generate a relevant list of choices. e.g. may have some permissions in it
Returns
  • Map which contains a list of choices as key value pairs. Can be null.