@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..
IssueContextImpl
issueContext = newIssueContextImpl.IssueContextImpl(Long, String)
IssueContextImpl(projectId, issueTypeId)};FieldConfig
fieldConfig =cf.getRelevantConfig(issueContext)
;Options
options =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()
FieldConfigItem
s. Collections.emptyList()
if nothingString getFieldId()
CustomField getCustomField()
FieldConfig
was originally only
used for customfields. Should eventually return a ConfigurableField
CustomField
DataAccessException
- if the fieldId does not refer to a valid custom fieldCopyright © 2002-2018 Atlassian. All Rights Reserved.