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, log
DEFAULT_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, getValueFromCustomFieldParams
createValue, getChangelogValue, getDefaultValue, getJsonDefaultValue, getStringValueFromCustomFieldParams, getValueFromIssue, getValueFromIssue, remove, setDefaultValue, updateValue, validateFromParams
assertObjectImplementsType, availableForBulkEdit, getChangelogString, getConfigurationItemTypes, getDescription, getDescriptor, getI18nBean, getKey, getName, getRelatedIndexers, getVelocityParameters, getVelocityParameters, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJsonDefaultValue
getCloneOptionConfiguration, getCloneValue, isUserInputRequiredForMove
public RenderableTextCFType(CustomFieldValuePersister customFieldValuePersister, GenericConfigManager genericConfigManager, TextFieldCharacterLengthValidator textFieldCharacterLengthValidator, JiraAuthenticationContext jiraAuthenticationContext)
public boolean isRenderable()
CustomFieldType
isRenderable
in interface CustomFieldType<String,String>
isRenderable
in class AbstractCustomFieldType<String,String>
public boolean valuesEqual(String v1, String v2)
CustomFieldType
valuesEqual
in interface CustomFieldType<String,String>
valuesEqual
in class AbstractCustomFieldType<String,String>
v1
- current valuev2
- new valuepublic Object accept(AbstractCustomFieldType.VisitorBase visitor)
accept
in class GenericTextCFType
public FieldExportParts getRepresentationFromIssue(Issue issue, CustomFieldExportContext context)
ExportableCustomFieldType
FieldExportPart
.getRepresentationFromIssue
in interface ExportableCustomFieldType
issue
- to get the representation forcontext
- which contains information such as the i18nHelper and fieldCopyright © 2002-2017 Atlassian. All Rights Reserved.