java.lang.Object | |
↳ | com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType<T, S> |
![]() |
Clients of @PublicSpi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicSpi
as per each product's API policy (clients should refer to each product's API policy for
the exact guarantee -- usually binary compatibility is guaranteed at least across minor versions).
@PublicSpi
interfaces and classes are specifically designed to be implemented/extended by clients.
Hence, the guarantee of binary compatibility is different to that of @PublicApi
elements (if an element
is both @PublicApi
and @PublicSpi
, both guarantees apply).
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AbstractCustomFieldType.Visitor<X> | Visitor interface for AbstractCustomFieldType. | ||||||||||
AbstractCustomFieldType.VisitorBase<X> | Marker interface for visitors of AbstractCustomFieldType (acyclic visitor). |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Allow the custom field type perform a specific check as to its availability for bulk editing.
| |||||||||||
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.
| |||||||||||
Returns a List of
FieldConfigItemType objects. | |||||||||||
Returns the full key of the CustomFieldType.
| |||||||||||
Returns a list of indexers that will be used for the field.
| |||||||||||
The custom field may wish to pass parameters to the velocity context beyond the getValueFromIssue methods
(eg managers).
| |||||||||||
Implementers should override the 3-param version of this.
| |||||||||||
Initialises the CustomFieldType with the given descriptor.
| |||||||||||
This is a mirror of the method from the RenderableField interface and is needed to bridge the gap between
CustomFields and CustomFieldTypes.
| |||||||||||
Used to compare 2 field values and work out whether a change item should be generated
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Allow the custom field type perform a specific check as to its availability for bulk editing.
bulkEditBean | BulkEditBean |
---|
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.
field | CustomField that the value belongs to |
---|---|
value | Transport Object representing the value instance of the CustomField |
Returns a List of FieldConfigItemType
objects. Can not be immutable.
This opens up possibilities for configurable custom fields.
FieldConfigItemType
Returns the full key of the CustomFieldType. Typically, this will be prefixed with "com.atlassian.jira.plugin.system.customfieldtypes:"
Returns a list of indexers that will be used for the field.
customField | the custom field to get the related indexers of. |
---|
FieldIndexer
objects. Null if no related indexers.
The custom field may wish to pass parameters to the velocity context beyond the getValueFromIssue methods (eg managers).
The values are added to the context for all velocity views (edit, search, view, xml)
issue | The issue currently in context (Note: this will be null in cases like 'default value') |
---|---|
field | CustomField |
fieldLayoutItem | FieldLayoutItem |
Map
of parameters to add to the velocity context, or an empty Map otherwise (never null)
Implementers should override the 3-param version of this. We want to make attempts to use this version a compile error so plugin developers must add the extra params.
IllegalAccessException |
---|
Initialises the CustomFieldType with the given descriptor.
descriptor | CustomFieldTypeModuleDescriptor |
---|
This is a mirror of the method from the RenderableField interface and is needed to bridge the gap between CustomFields and CustomFieldTypes.
Used to compare 2 field values and work out whether a change item should be generated
v1 | current value |
---|---|
v2 | new value |