| 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()
OptionSetgetOptions in interface OptionSetOption objectspublic Collection<String> getOptionIds()
OptionSetgetOptionIds in interface OptionSetString 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 OptionSetconstantType - 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.