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
|
public Collection<Option> getOptions()
OptionSet
getOptions
in interface OptionSet
Option
objectspublic Collection<String> getOptionIds()
OptionSet
getOptionIds
in interface OptionSet
String
objectspublic void addOption(String constantType, String constantId)
OptionSet
Note that this does not write through to the database.
Use OptionSetManager.updateOptionSet(FieldConfig, Collection)
for that.
addOption
in interface OptionSet
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-2021 Atlassian. All Rights Reserved.