Interface ValuesGenerator<K>

All Known Implementing Classes:
ColumnNamesValuesGenerator, DateFieldValuesGenerator, FilterStatisticsCascadingSelectValuesGenerator, FilterStatisticsValuesGenerator, FilterValuesGenerator, MailServersValuesGenerator, SortingValuesGenerator, SubTaskIncludeValuesGenerator, UserSubTaskIncludeValuesGenerator, VersionOptionalValuesGenerator

@PublicSpi public interface ValuesGenerator<K>
Interface to implement when you want to retrieve a list of choices for a ConfigurationProperty.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ValuesGenerator
    Implementation that returns no values at all.
  • Method Summary

    Modifier and Type
    Method
    Description
    getValues(Map userParams)
    Map of choices to use
  • Field Details

    • NONE

      static final ValuesGenerator NONE
      Implementation that returns no values at all.
      Since:
      28 Aug 2007 for JIRA v3.11
  • Method Details

    • getValues

      Map<K,String> 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.