com.atlassian.jira.issue.customfields.manager.OptionsManager |
![]() |
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
Manages option values for fields (eg. custom field select lists).
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set an option to disabled.
| |||||||||||
Set an option to enabled.
| |||||||||||
Finds all options with the given value.
| |||||||||||
Retreives all
Option in the system. | |||||||||||
Get options for this particular custom field type.
| |||||||||||
Update a set of options.
|
Set an option to disabled. A disabled option will is not available to be assigned to this associated custom field, It remains valid historically and for searching with.
option | The option to be disabled. |
---|
Set an option to enabled.
option | The Option to enable. |
---|
Finds all options with the given value. Returns and empty list if no options are found.
value | the value of the options to find (case insensitive). Must not be null. |
---|
Retreives all Option
in the system.
Get options for this particular custom field type. As a custom field may have multiple types of options (eg cascading drop downs), the type can be used to signify this
fieldConfig | For example, retrieved from getRelevantConfig(com.atlassian.jira.issue.Issue) |
---|
Update a set of options. After doing this, any existing Options
objects may be stale, and should be
re-fetched with getOptions(com.atlassian.jira.issue.fields.config.FieldConfig)
.
options | Usually an Options implementation.
|
---|