com.atlassian.jira.plugin.customfield
Class CustomFieldTypeModuleDescriptorsImpl

java.lang.Object
  extended by com.atlassian.jira.plugin.customfield.CustomFieldTypeModuleDescriptorsImpl
All Implemented Interfaces:
CustomFieldTypeModuleDescriptors

public class CustomFieldTypeModuleDescriptorsImpl
extends Object
implements CustomFieldTypeModuleDescriptors


Constructor Summary
CustomFieldTypeModuleDescriptorsImpl(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
Method Summary
 com.atlassian.fugue.Option<CustomFieldType> getCustomFieldType(String completeModuleKey)
          Retrieve a custom field type by its type key.
 List<CustomFieldType<?,?>> getCustomFieldTypes()
          Retrieve all CustomFieldTypes registered in the system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomFieldTypeModuleDescriptorsImpl

public CustomFieldTypeModuleDescriptorsImpl(com.atlassian.plugin.PluginAccessor pluginAccessor)
Method Detail

getCustomFieldTypes

@Nonnull
public List<CustomFieldType<?,?>> getCustomFieldTypes()
Description copied from interface: CustomFieldTypeModuleDescriptors
Retrieve all CustomFieldTypes registered in the system.

Specified by:
getCustomFieldTypes in interface CustomFieldTypeModuleDescriptors
Returns:
a list of CustomFieldTypes

getCustomFieldType

public com.atlassian.fugue.Option<CustomFieldType> getCustomFieldType(String completeModuleKey)
Description copied from interface: CustomFieldTypeModuleDescriptors
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.

Specified by:
getCustomFieldType in interface CustomFieldTypeModuleDescriptors
Parameters:
completeModuleKey - Type identifier constructed from plugin XML.
Returns:
An Option with the CustomFieldType for the given key


Copyright © 2002-2014 Atlassian. All Rights Reserved.