public interface

ValuesGenerator

com.atlassian.configurable.ValuesGenerator
Known Indirect Subclasses

Class Overview

Interface to implement when you want to retrieve a list of choices for a ConfiguraionProperty. The class you implement can be passed to a ValuesGeneratorObjectConfigurationProperty so it will use it to retrieve a list of choices.

Summary

Fields
public static final ValuesGenerator NONE Implementation that returns no values at all.
Public Methods
Map getValues(Map userParams)
Map of choices to use

Fields

public static final ValuesGenerator NONE

Implementation that returns no values at all.

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.