public class RenderableTextCFType extends GenericTextCFType implements ExportableCustomFieldType
| Modifier and Type | Class and Description |
|---|---|
static interface |
RenderableTextCFType.Visitor<T> |
AbstractCustomFieldType.VisitorBase<X>customFieldValuePersister, FIELD_TYPE_DATE, FIELD_TYPE_NUMBER, FIELD_TYPE_STRING, FIELD_TYPE_TEXT, genericConfigManager, logDEFAULT_VALUE_TYPE, RESOURCE_PREVIEW| Constructor and Description |
|---|
RenderableTextCFType(CustomFieldValuePersister customFieldValuePersister,
GenericConfigManager genericConfigManager,
TextFieldCharacterLengthValidator textFieldCharacterLengthValidator,
JiraAuthenticationContext jiraAuthenticationContext) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(AbstractCustomFieldType.VisitorBase visitor) |
FieldExportParts |
getRepresentationFromIssue(Issue issue,
CustomFieldExportContext context)
Get the custom field representation of the issue, this object contains the column headers and values for each
of the
FieldExportPart. |
boolean |
isRenderable()
This is a mirror of the method from the RenderableField interface and is needed to bridge the gap between
CustomFields and CustomFieldTypes.
|
boolean |
valuesEqual(String v1,
String v2)
Used to compare 2 field values and work out whether a change item should be generated
|
compare, getDatabaseType, getDbValueFromObject, getFieldTypeInfo, getJsonFromIssue, getJsonSchema, getObjectFromDbValue, getProjectImporter, getRestFieldOperation, getSingularObjectFromString, getStringFromSingularObject, getValueFromCustomFieldParamscreateValue, getChangelogValue, getDefaultValue, getJsonDefaultValue, getStringValueFromCustomFieldParams, getValueFromIssue, getValueFromIssue, remove, setDefaultValue, updateValue, validateFromParamsassertObjectImplementsType, availableForBulkEdit, getChangelogString, getConfigurationItemTypes, getDescription, getDescriptor, getI18nBean, getKey, getName, getRelatedIndexers, getVelocityParameters, getVelocityParameters, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJsonDefaultValuegetCloneOptionConfiguration, getCloneValue, isUserInputRequiredForMovepublic RenderableTextCFType(CustomFieldValuePersister customFieldValuePersister, GenericConfigManager genericConfigManager, TextFieldCharacterLengthValidator textFieldCharacterLengthValidator, JiraAuthenticationContext jiraAuthenticationContext)
public boolean isRenderable()
CustomFieldTypeisRenderable in interface CustomFieldType<String,String>isRenderable in class AbstractCustomFieldType<String,String>public boolean valuesEqual(String v1, String v2)
CustomFieldTypevaluesEqual in interface CustomFieldType<String,String>valuesEqual in class AbstractCustomFieldType<String,String>v1 - current valuev2 - new valuepublic Object accept(AbstractCustomFieldType.VisitorBase visitor)
accept in class GenericTextCFTypepublic FieldExportParts getRepresentationFromIssue(Issue issue, CustomFieldExportContext context)
ExportableCustomFieldTypeFieldExportPart.getRepresentationFromIssue in interface ExportableCustomFieldTypeissue - to get the representation forcontext - which contains information such as the i18nHelper and fieldCopyright © 2002-2021 Atlassian. All Rights Reserved.