public class

CustomFieldTestImpl

extends CustomFieldImpl
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.CustomFieldImpl
     ↳ com.atlassian.jira.issue.fields.CustomFieldTestImpl

Class Overview

The only purpose of this class is to increase the visibility of #copyGenericValue so we can mock it in tests.

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.issue.fields.CustomField
From interface com.atlassian.jira.issue.fields.NavigableField
From interface com.atlassian.jira.issue.fields.OrderableField
Public Constructors
CustomFieldTestImpl(CustomField customField, JiraAuthenticationContext authenticationContext, FieldConfigSchemeManager fieldConfigSchemeManager, PermissionManager permissionManager, RendererManager rendererManager, FieldConfigSchemeClauseContextUtil contextUtil, CustomFieldDescription customFieldDescription, FeatureManager featureManager, TranslationManager translationManager, CustomFieldScopeFactory scopeFactory, CustomFieldTypeModuleDescriptors customFieldTypeModuleDescriptors, CustomFieldSearcherModuleDescriptors customFieldSearcherModuleDescriptors)
Public Methods
GenericValue copyGenericValue()
Non-public method that returns a copy of the underlying GenericValue.
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.fields.CustomFieldImpl
From class java.lang.Object
From interface com.atlassian.jira.issue.fields.ConfigurableField
From interface com.atlassian.jira.issue.fields.CustomField
From interface com.atlassian.jira.issue.fields.Field
From interface com.atlassian.jira.issue.fields.NavigableField
From interface com.atlassian.jira.issue.fields.OrderableField
From interface com.atlassian.jira.issue.fields.SearchableField
From interface com.atlassian.jira.issue.fields.renderer.RenderableField
From interface com.atlassian.jira.issue.fields.rest.RestAwareField
From interface com.atlassian.jira.issue.fields.rest.RestFieldOperations
From interface java.lang.Comparable

Public Constructors

public CustomFieldTestImpl (CustomField customField, 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 GenericValue copyGenericValue ()

Non-public method that returns a copy of the underlying GenericValue. This is essentially only used in the above copy constructor.

Prefer this class's get* method instead.

Returns
  • the underlying GenericValue