com.atlassian.jira.portal
Class ColumnNamesValuesGenerator

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

public class ColumnNamesValuesGenerator
extends Object
implements ValuesGenerator

A generator for Column Names - used when selecting columns to display in Issue Navigator.

This generator will return all available columns for the currently logged in user, and will put them in an order that resembles the current ordering. It will also add a 'Default' column whose value is ColumnNamesValuesGenerator.Property.DEFAULT_COLUMNS.

Since:
v4.0

Nested Class Summary
static class ColumnNamesValuesGenerator.Property
           
 
Field Summary
 
Fields inherited from interface com.atlassian.configurable.ValuesGenerator
NONE
 
Constructor Summary
ColumnNamesValuesGenerator()
           
 
Method Summary
 Map getValues(Map params)
          Map of choices to use
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnNamesValuesGenerator

public ColumnNamesValuesGenerator()
Method Detail

getValues

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

Specified by:
getValues in interface ValuesGenerator
Parameters:
params - 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-2013 Atlassian. All Rights Reserved.