Interface CustomFieldTypeModuleDescriptors
- All Known Implementing Classes:
CustomFieldTypeModuleDescriptorsImpl
@PublicApi
public interface CustomFieldTypeModuleDescriptors
Provides different methods to access the
CustomFieldTypes registered in the system.-
Method Summary
Modifier and TypeMethodDescriptionio.atlassian.fugue.Option<CustomFieldType>getCustomFieldType(String completeModuleKey) Retrieve a custom field type by its type key.List<CustomFieldType<?,?>> Deprecated.default List<CustomFieldType<?,?>> Retrieve allCustomFieldTypes registered in the system.
-
Method Details
-
getCustomFieldTypes
Deprecated.since 8.10 usegetUnorderedCustomFieldTypes()and sort only when neededRetrieve allCustomFieldTypes registered in the system and sorted by name.- Returns:
- a list of
CustomFieldTypes
-
getUnorderedCustomFieldTypes
Retrieve allCustomFieldTypes registered in the system.- Returns:
- a list of
CustomFieldTypes
-
getCustomFieldType
Retrieve a custom field type by its type key. The key is the "full plugin module key". That is, the plugin key for the plugin it comes from, a colon separator, and then the module key.- Parameters:
completeModuleKey- Type identifier constructed from plugin XML.- Returns:
- An
Optionwith theCustomFieldTypefor the given key
-
getUnorderedCustomFieldTypes()and sort only when needed