Interface CustomFieldExportContext
- All Known Implementing Classes:
DefaultCustomFieldExportContext
@ExperimentalApi
public interface CustomFieldExportContext
Context used when generating the
FieldExportParts
for
ExportableCustomFieldType.getRepresentationFromIssue(Issue, CustomFieldExportContext)
. This
provides items useful for generating the FieldExportParts
such as the CustomField
.- Since:
- 7.2.0
-
Method Summary
Modifier and TypeMethodDescriptionThe field for thisCustomFieldType
, can be used for generating the value for the issue.
-
Method Details
-
getCustomField
CustomField getCustomField()The field for thisCustomFieldType
, can be used for generating the value for the issue.- Returns:
- custom field implementing this type.
-
getI18nHelper
I18nHelper getI18nHelper()- Returns:
- the i18nHelper that can be used for generating text for the column header if need be.
-
getDefaultColumnHeader
String getDefaultColumnHeader()- Returns:
- the default column header for the custom field, can be used if a custom header is not needed.
-