@PublicApi
public interface FieldConfig
ConfigurableField. A configuration can have many facets, such as default value
and options. These are customizable through registering FieldConfigItem objects in the getConfigItems() method.
This object is generally used in conjunction as part FieldConfigScheme objects where a config can be attached
per IssueType
This is used in configuring custom fields..
IssueContextImplissueContext = newIssueContextImpl.IssueContextImpl(Long, String)IssueContextImpl(projectId, issueTypeId)};FieldConfigfieldConfig =cf.getRelevantConfig(issueContext);Optionsoptions =optionsManager.getOptions(fieldConfig);
FieldConfigScheme,
FieldConfigItem,
ConfigurableField| Modifier and Type | Method and Description |
|---|---|
List<FieldConfigItem> |
getConfigItems()
Returns a list of FieldConfigItems.
|
CustomField |
getCustomField()
Returns the related custom field.
|
String |
getDescription() |
String |
getFieldId() |
Long |
getId() |
String |
getName() |
Long getId()
String getName()
String getDescription()
List<FieldConfigItem> getConfigItems()
FieldConfigItems. Collections.emptyList() if nothingString getFieldId()
CustomField getCustomField()
FieldConfig was originally only
used for customfields. Should eventually return a ConfigurableFieldCustomFieldDataAccessException - if the fieldId does not refer to a valid custom fieldCopyright © 2002-2020 Atlassian. All Rights Reserved.