MultipleSettableCustomFieldType
yourself. Since v5.0.
Also, consider extending AbstractSingleFieldType
or AbstractMultiCFType
for other benefits@Deprecated @PublicSpi public abstract class AbstractMultiSettableCFType<T,S> extends AbstractCustomFieldType<T,S> implements MultipleSettableCustomFieldType<T,S>
AbstractCustomFieldType.Visitor<X>, AbstractCustomFieldType.VisitorBase<X>
Modifier and Type | Field and Description |
---|---|
protected CustomFieldValuePersister |
customFieldValuePersister
Deprecated.
|
protected GenericConfigManager |
genericConfigManager
Deprecated.
|
protected OptionsManager |
optionsManager
Deprecated.
|
DEFAULT_VALUE_TYPE, RESOURCE_PREVIEW
Modifier | Constructor and Description |
---|---|
protected |
AbstractMultiSettableCFType(OptionsManager optionsManager,
CustomFieldValuePersister customFieldValuePersister,
GenericConfigManager genericConfigManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Options |
getOptions(FieldConfig fieldConfig,
JiraContextNode jiraContextNode)
Deprecated.
Returns all possible Options for this field.
|
Set<Long> |
remove(CustomField field)
Deprecated.
Performs additional tasks when an entire CustomField of this type is being removed
CustomField.remove() . |
accept, assertObjectImplementsType, availableForBulkEdit, getChangelogString, getConfigurationItemTypes, getDescription, getDescriptor, getI18nBean, getKey, getName, getRelatedIndexers, getVelocityParameters, getVelocityParameters, init, isRenderable, valuesEqual
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIssueIdsWithValue, removeValue
availableForBulkEdit, createValue, getChangelogString, getChangelogValue, getCloneOptionConfiguration, getCloneValue, getConfigurationItemTypes, getDefaultValue, getDescription, getDescriptor, getKey, getName, getRelatedIndexers, getSingularObjectFromString, getStringFromSingularObject, getStringValueFromCustomFieldParams, getValueFromCustomFieldParams, getValueFromIssue, getVelocityParameters, init, isRenderable, isUserInputRequiredForMove, setDefaultValue, updateValue, validateFromParams, valuesEqual
protected final OptionsManager optionsManager
protected final CustomFieldValuePersister customFieldValuePersister
protected final GenericConfigManager genericConfigManager
protected AbstractMultiSettableCFType(OptionsManager optionsManager, CustomFieldValuePersister customFieldValuePersister, GenericConfigManager genericConfigManager)
public Set<Long> remove(CustomField field)
CustomFieldType
CustomField.remove()
.
This includes removal of values & options.remove
in interface CustomFieldType<T,S>
field
- The custom field that is being removed, so any data stored for
any issues for that field can be deleted.Set
of issue ids that has been affectedpublic Options getOptions(FieldConfig fieldConfig, JiraContextNode jiraContextNode)
MultipleCustomFieldType
getOptions
in interface MultipleCustomFieldType<T,S>
fieldConfig
- configuration for this fieldjiraContextNode
- contextCopyright © 2002-2017 Atlassian. All Rights Reserved.