com.atlassian.jira.portal
Class SortingValuesGenerator

java.lang.Object
  extended by com.atlassian.jira.portal.SortingValuesGenerator
All Implemented Interfaces:
ValuesGenerator

public class SortingValuesGenerator
extends Object
implements ValuesGenerator


Field Summary
static String SORT_BY_LEAST_COMPLETED
           
static String SORT_BY_MOST_COMPLETED
           
 
Fields inherited from interface com.atlassian.configurable.ValuesGenerator
NONE
 
Constructor Summary
SortingValuesGenerator()
           
 
Method Summary
 Map getValues(Map userParams)
          Map of choices to use
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SORT_BY_MOST_COMPLETED

public static final String SORT_BY_MOST_COMPLETED
See Also:
Constant Field Values

SORT_BY_LEAST_COMPLETED

public static final String SORT_BY_LEAST_COMPLETED
See Also:
Constant Field Values
Constructor Detail

SortingValuesGenerator

public SortingValuesGenerator()
Method Detail

getValues

public Map getValues(Map userParams)
Description copied from interface: ValuesGenerator
Map of choices to use

Specified by:
getValues in interface ValuesGenerator
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.


Copyright © 2002-2012 Atlassian. All Rights Reserved.