@PublicApi
public interface OptionSet
For example, the field configuration
for a project might change the order that
issue types are listed in from the default order to some other order and need not include all of the
issue types that exist.
Modifier and Type | Method and Description |
---|---|
void |
addOption(String constantType,
String constantId)
Adds the option to the underlying list.
|
Collection<String> |
getOptionIds()
Get the list of options ids
|
Collection<Option> |
getOptions()
List of options for this set
|
Collection<Option> getOptions()
Option
objectsCollection<String> getOptionIds()
String
objectsvoid addOption(String constantType, String constantId)
Note that this does not write through to the database.
Use OptionSetManager.updateOptionSet(FieldConfig, Collection)
for that.
constantType
- the type of issue constant that the new option will represent, such as an IssueTypeconstantId
- the issue constant ID
for the issue constant that this
option will represent.Copyright © 2002-2019 Atlassian. All Rights Reserved.