com.atlassian.jira.issue.customfields.impl
Class RenderableTextCFType
java.lang.Object
com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType
com.atlassian.jira.issue.customfields.impl.StringCFType
com.atlassian.jira.issue.customfields.impl.TextCFType
com.atlassian.jira.issue.customfields.impl.RenderableTextCFType
- All Implemented Interfaces:
- ProjectImportableCustomField, CustomFieldType, SortableCustomField<java.lang.String>
- Direct Known Subclasses:
- TextAreaCFType
public class RenderableTextCFType
- extends TextCFType
This custom field type returns true for its isRenderable method and is meant to
represent a text custom field type that is renderable.
Method Summary |
java.lang.Object |
accept(AbstractCustomFieldType.VisitorBase visitor)
|
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(java.lang.Object v1,
java.lang.Object v2)
Used to compare 2 field values and work out whether a change item should be generated |
Methods inherited from class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType |
assertObjectImplementsType, availableForBulkEdit, getChangelogString, getConfigurationItemTypes, getDescription, getDescriptor, getI18nBean, getKey, getName, getRelatedIndexers, getVelocityParameters, getVelocityParameters, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderableTextCFType
public RenderableTextCFType(CustomFieldValuePersister customFieldValuePersister,
StringConverter stringConverter,
GenericConfigManager genericConfigManager)
isRenderable
public boolean isRenderable()
- Description copied from interface:
CustomFieldType
- This is a mirror of the method from the RenderableField interface and is needed to bridge the gap between
CustomFields and CustomFieldTypes.
- Specified by:
isRenderable
in interface CustomFieldType
- Overrides:
isRenderable
in class AbstractCustomFieldType
- Returns:
- true if the field is configurable for use with the renderers, a text based field, false otherwise.
valuesEqual
public boolean valuesEqual(java.lang.Object v1,
java.lang.Object v2)
- Description copied from interface:
CustomFieldType
- Used to compare 2 field values and work out whether a change item should be generated
- Specified by:
valuesEqual
in interface CustomFieldType
- Overrides:
valuesEqual
in class AbstractCustomFieldType
- Parameters:
v1
- current valuev2
- new value
- Returns:
- true if teh change item should be generated, false otherwise
accept
public java.lang.Object accept(AbstractCustomFieldType.VisitorBase visitor)
- Overrides:
accept
in class TextCFType
Copyright © 2002-2011 Atlassian. All Rights Reserved.