com.atlassian.jira.issue.customfields.manager.OptionsService |
![]() |
@Internal
or @PublicApi
.
A service to manipulate the options associated with a CustomField
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
OptionsService.SetOptionParams | |||||||||||
OptionsService.SetValidateResult |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Replace the options on the custom field.
| |||||||||||
Check that the options of a
CustomField can be replaced with (i.e. |
Replace the options on the custom field. The current options will be deleted (along with their values) and
new options created. No attempt is made to keep the current options or their values (i.e. even if an option
has the same name before and after the operation). The options are set to the values passed to the
validateSetOptions(com.atlassian.jira.issue.customfields.manager.OptionsService.SetOptionParams)
that
generated the passed OptionsService.SetValidateResult
.
request | a request previously validated by
validateSetOptions(com.atlassian.jira.issue.customfields.manager.OptionsService.SetOptionParams) . |
---|
Check that the options of a CustomField
can be replaced with (i.e. current options deleted and set to)
the passed options. The actual operation will not be executed until a call to
setOptions(com.atlassian.jira.issue.customfields.manager.OptionsService.SetValidateResult)
is later
made.
param | the request. |
---|
OptionsService.SetValidateResult
can be passed to
setOptions(com.atlassian.jira.issue.customfields.manager.OptionsService.SetValidateResult)
to actually
perform the update.