@Nullable
String
|
availableForBulkEdit(BulkEditBean bulkEditBean)
Allow the custom field type perform a specific check as to its availability for bulk editing.
|
void
|
createValue(CustomField field, Issue issue, T value)
Save the value for this Custom Field in a particular issue to the database.
|
@Nullable
String
|
getChangelogString(CustomField field, T value)
Returns a String of representing values to be stored in the change log, an example is the name of a version
field that a version id will resolve to within JIRA.
|
@Nullable
String
|
getChangelogValue(CustomField field, T value)
Returns a values to be stored in the change log, example is the id of the changed item.
|
@Nonnull
List<FieldConfigItemType>
|
getConfigurationItemTypes()
|
T
|
getDefaultValue(FieldConfig fieldConfig)
Retrieves the Object representing the default CustomField value for the Custom Field.
|
String
|
getDescription()
|
CustomFieldTypeModuleDescriptor
|
getDescriptor()
|
String
|
getKey()
Returns the full key of the CustomFieldType.
|
String
|
getName()
|
@Nullable
List<FieldIndexer>
|
getRelatedIndexers(CustomField customField)
Returns a list of indexers that will be used for the field.
|
S
|
getSingularObjectFromString(String string)
Returns a Singular Object, given the string value as passed by the presentation tier.
|
String
|
getStringFromSingularObject(S singularObject)
Returns the String representation of a single value within the CustomFieldType.
|
Object
|
getStringValueFromCustomFieldParams(CustomFieldParams parameters)
Return the String value object from the CustomFieldParams.
|
T
|
getValueFromCustomFieldParams(CustomFieldParams parameters)
Retrieves the Transport Object representing the CustomField value instance from the CustomFieldParams of Strings.
|
@Nullable
T
|
getValueFromIssue(CustomField field, Issue issue)
Retrieves the Transport Object representing the current CustomField value for the given issue.
|
@Nonnull
Map<String, Object>
|
getVelocityParameters(Issue issue, CustomField field, FieldLayoutItem fieldLayoutItem)
The custom field may wish to pass parameters to the velocity context beyond the getValueFromIssue methods
(eg managers).
|
void
|
init(CustomFieldTypeModuleDescriptor customFieldTypeModuleDescriptor)
Initialises the CustomFieldType with the given descriptor.
|
boolean
|
isRenderable()
This is a mirror of the method from the RenderableField interface and is needed to bridge the gap between
CustomFields and CustomFieldTypes.
|
Set<Long>
|
remove(CustomField field)
Performs additional tasks when an entire CustomField of this type is being removed remove() .
|
void
|
setDefaultValue(FieldConfig fieldConfig, T value)
Sets the default value for a Custom Field
|
void
|
updateValue(CustomField field, Issue issue, T value)
Update the value for this Custom Field in a particular issue currently stored in the database.
|
void
|
validateFromParams(CustomFieldParams relevantParams, ErrorCollection errorCollectionToAddTo, FieldConfig config)
Ensures that the CustomFieldParams of Strings is a valid representation of the Custom Field values.
|
boolean
|
valuesEqual(T v1, T v2)
Used to compare 2 field values and work out whether a change item should be generated
|