public class

DefaultCustomFieldFactory

extends Object
implements CustomFieldFactory
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.DefaultCustomFieldFactory

Summary

Public Constructors
DefaultCustomFieldFactory(JiraAuthenticationContext authenticationContext, FieldConfigSchemeManager fieldConfigSchemeManager, PermissionManager permissionManager, RendererManager rendererManager, FieldConfigSchemeClauseContextUtil contextUtil, CustomFieldDescription customFieldDescription, FeatureManager featureManager, TranslationManager translationManager, CustomFieldScopeFactory scopeFactory, CustomFieldTypeModuleDescriptors customFieldTypeModuleDescriptors, CustomFieldSearcherModuleDescriptors customFieldSearcherModuleDescriptors)
Public Methods
CustomField copyOf(CustomField customField)
Creates a new instance of CustomField, which is a copy of the given one.
CustomField create(GenericValue genericValue)
Creates a new instance of CustomField.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.fields.CustomFieldFactory

Public Constructors

public DefaultCustomFieldFactory (JiraAuthenticationContext authenticationContext, FieldConfigSchemeManager fieldConfigSchemeManager, PermissionManager permissionManager, RendererManager rendererManager, FieldConfigSchemeClauseContextUtil contextUtil, CustomFieldDescription customFieldDescription, FeatureManager featureManager, TranslationManager translationManager, CustomFieldScopeFactory scopeFactory, CustomFieldTypeModuleDescriptors customFieldTypeModuleDescriptors, CustomFieldSearcherModuleDescriptors customFieldSearcherModuleDescriptors)

Public Methods

public CustomField copyOf (CustomField customField)

Creates a new instance of CustomField, which is a copy of the given one.

Parameters
customField The CustomField to copy from.
Returns
  • A new instance of CustomField, copied from the given one.

public CustomField create (GenericValue genericValue)

Creates a new instance of CustomField.

Parameters
genericValue A GenericValue that represents the custom field.
Returns
  • A new instance of CustomField, created from the given generic value.