GenericTextCFType instead. Since v5.0.@Deprecated @PublicApi @PublicSpi public class TextCFType extends StringCFType implements SortableCustomField<String>, ProjectImportableCustomField
| Modifier and Type | Class and Description |
|---|---|
static interface |
TextCFType.Visitor<T>
Deprecated.
|
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 |
|---|
TextCFType(CustomFieldValuePersister customFieldValuePersister,
GenericConfigManager genericConfigManager)
Deprecated.
|
TextCFType(CustomFieldValuePersister customFieldValuePersister,
GenericConfigManager genericConfigManager,
TextFieldCharacterLengthValidator textFieldCharacterLengthValidator,
JiraAuthenticationContext jiraAuthenticationContext)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(AbstractCustomFieldType.VisitorBase visitor)
Deprecated.
|
int |
compare(String customFieldObjectValue1,
String customFieldObjectValue2,
FieldConfig fieldConfig)
Deprecated.
Compares the two custom field objects.
|
protected PersistenceFieldType |
getDatabaseType()
Deprecated.
Type of database field needed to store this field.
|
NonnullCustomFieldProvider |
getNonnullCustomFieldProvider()
Deprecated.
Returns an instance of
NonNullCustomFieldProvider that Jira will use to optimize indexing performance. |
NonNullCustomFieldProvider |
getNonNullCustomFieldProvider()
Deprecated.
Returns an instance of
NonNullCustomFieldProvider that Jira will use to optimize indexing performance. |
ProjectCustomFieldImporter |
getProjectImporter()
Deprecated.
This method will return a
TextLengthValidatingCustomFieldImporter, be mindful that if you are extending
this class you need to have a good hard think about whether this is the right field importer for your custom
field values. |
Object |
getSingularObjectFromString(String string)
Deprecated.
Returns a Singular Object, given the string value as passed by the presentation tier.
|
String |
getStringFromSingularObject(Object value)
Deprecated.
Returns the
String representation of a single value within the CustomFieldType. |
getDbValueFromObject, getFieldTypeInfo, getJsonFromIssue, getJsonSchema, getObjectFromDbValue, getValueFromCustomFieldParamscreateValue, getChangelogValue, getDefaultValue, getJsonDefaultValue, getStringValueFromCustomFieldParams, getValueFromIssue, getValueFromIssue, remove, setDefaultValue, updateValue, validateFromParamsassertObjectImplementsType, availableForBulkEdit, getChangelogString, getConfigurationItemTypes, getDescription, getDescriptor, getI18nBean, getKey, getName, getRelatedIndexers, getVelocityParameters, getVelocityParameters, init, isRenderable, valuesEqualclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitareAllRequiredParametersPresent, getCloneOptionConfiguration, getCloneValue, isUserInputRequiredForMovepublic TextCFType(CustomFieldValuePersister customFieldValuePersister, GenericConfigManager genericConfigManager, TextFieldCharacterLengthValidator textFieldCharacterLengthValidator, JiraAuthenticationContext jiraAuthenticationContext)
@Deprecated public TextCFType(CustomFieldValuePersister customFieldValuePersister, GenericConfigManager genericConfigManager)
TextCFType(com.atlassian.jira.issue.customfields.persistence.CustomFieldValuePersister, com.atlassian.jira.issue.customfields.manager.GenericConfigManager, com.atlassian.jira.issue.fields.TextFieldCharacterLengthValidator, com.atlassian.jira.security.JiraAuthenticationContext) instead. Since v6.4.1public NonnullCustomFieldProvider getNonnullCustomFieldProvider()
CustomFieldTypeNonNullCustomFieldProvider that Jira will use to optimize indexing performance.getNonnullCustomFieldProvider in interface CustomFieldTypepublic NonNullCustomFieldProvider getNonNullCustomFieldProvider()
CustomFieldTypeNonNullCustomFieldProvider that Jira will use to optimize indexing performance.getNonNullCustomFieldProvider in interface CustomFieldTypepublic String getStringFromSingularObject(Object value)
CustomFieldTypeString representation of a single value within the CustomFieldType. This is the value that
is passed to the presentation tier for editing. For single CustomFieldTypes the Singular Object is
the same as a Transport Object. However, for multi-dimensional CustomFieldTypes, the Singular Object is
the Object contained within the Collection or MapgetStringFromSingularObject in interface CustomFieldTypevalue - the objectpublic Object getSingularObjectFromString(String string) throws FieldValidationException
CustomFieldTypegetSingularObjectFromString in interface CustomFieldTypestring - the StringFieldValidationException - if the string is an invalid representation of the Object.public int compare(@Nonnull String customFieldObjectValue1, @Nonnull String customFieldObjectValue2, FieldConfig fieldConfig)
SortableCustomFieldcompare in interface SortableCustomField<String>customFieldObjectValue1 - Never nullcustomFieldObjectValue2 - Never null@Nonnull protected PersistenceFieldType getDatabaseType()
AbstractSingleFieldTypegetDatabaseType in class AbstractSingleFieldTypePersistenceFieldType types.public ProjectCustomFieldImporter getProjectImporter()
TextLengthValidatingCustomFieldImporter, be mindful that if you are extending
this class you need to have a good hard think about whether this is the right field importer for your custom
field values.getProjectImporter in interface ProjectImportableCustomFieldTextLengthValidatingCustomFieldImporterProjectImportableCustomField.getProjectImporter()public Object accept(AbstractCustomFieldType.VisitorBase visitor)
accept in class StringCFTypeCopyright © 2002-2024 Atlassian. All Rights Reserved.