@Deprecated @PublicSpi public abstract class

AbstractMultiSettableCFType

extends AbstractCustomFieldType<T, S>
implements MultipleSettableCustomFieldType<T, S>
java.lang.Object
   ↳ com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType<T, S>
     ↳ com.atlassian.jira.issue.customfields.impl.AbstractMultiSettableCFType<T, S>

This class is deprecated.
Implement the methods on MultipleSettableCustomFieldType yourself. Since v5.0. Also, consider extending AbstractSingleFieldType or AbstractMultiCFType for other benefits

@PublicSpi

This class is designed for plugins to implement.

Clients of @PublicSpi can expect that programs compiled against a given version will remain binary compatible with later versions of the @PublicSpi as per each product's API policy (clients should refer to each product's API policy for the exact guarantee -- usually binary compatibility is guaranteed at least across minor versions).

Note: @PublicSpi interfaces and classes are specifically designed to be implemented/extended by clients. Hence, the guarantee of binary compatibility is different to that of @PublicApi elements (if an element is both @PublicApi and @PublicSpi, both guarantees apply).

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.issue.customfields.CustomFieldType
Fields
protected final CustomFieldValuePersister customFieldValuePersister
protected final GenericConfigManager genericConfigManager
protected final OptionsManager optionsManager
Protected Constructors
AbstractMultiSettableCFType(OptionsManager optionsManager, CustomFieldValuePersister customFieldValuePersister, GenericConfigManager genericConfigManager)
Public Methods
Options getOptions(FieldConfig fieldConfig, JiraContextNode jiraContextNode)
Returns all possible Options for this field.
Set<Long> remove(CustomField field)
Performs additional tasks when an entire CustomField of this type is being removed remove().
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
From class java.lang.Object
From interface com.atlassian.jira.issue.customfields.CustomFieldType
From interface com.atlassian.jira.issue.customfields.MultipleCustomFieldType
From interface com.atlassian.jira.issue.customfields.MultipleSettableCustomFieldType

Fields

protected final CustomFieldValuePersister customFieldValuePersister

protected final GenericConfigManager genericConfigManager

protected final OptionsManager optionsManager

Protected Constructors

protected AbstractMultiSettableCFType (OptionsManager optionsManager, CustomFieldValuePersister customFieldValuePersister, GenericConfigManager genericConfigManager)

Public Methods

public Options getOptions (FieldConfig fieldConfig, JiraContextNode jiraContextNode)

Returns all possible Options for this field.

Parameters
fieldConfig configuration for this field
jiraContextNode context
Returns
  • all possible Options for this field.

public Set<Long> remove (CustomField field)

Performs additional tasks when an entire CustomField of this type is being removed remove(). This includes removal of values & options.

Parameters
field The custom field that is being removed, so any data stored for any issues for that field can be deleted.
Returns
  • Set of issue ids that has been affected