com.atlassian.jira.issue.fields
Class CustomFieldTestImpl

java.lang.Object
  extended by com.atlassian.jira.issue.fields.CustomFieldImpl
      extended by com.atlassian.jira.issue.fields.CustomFieldTestImpl
All Implemented Interfaces:
ConfigurableField, CustomField, Field, HideableField, NavigableField, OrderableField, RenderableField, RequirableField, RestAwareField, RestFieldOperations, SearchableField, Comparable

public class CustomFieldTestImpl
extends CustomFieldImpl

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


Field Summary
 
Fields inherited from interface com.atlassian.jira.issue.fields.CustomField
ENTITY_CF_TYPE_KEY, ENTITY_CUSTOM_FIELD_SEARCHER, ENTITY_DESCRIPTION, ENTITY_ID, ENTITY_ISSUETYPE, ENTITY_NAME, ENTITY_PROJECT, ENTITY_TABLE_NAME
 
Fields inherited from interface com.atlassian.jira.issue.fields.NavigableField
ORDER_ASCENDING, ORDER_DESCENDING, TEMPLATE_DIRECTORY_PATH
 
Fields inherited from interface com.atlassian.jira.issue.fields.OrderableField
MOVE_ISSUE_PARAM_KEY, NO_HEADER_PARAM_KEY
 
Constructor Summary
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)
           
 
Method Summary
 org.ofbiz.core.entity.GenericValue copyGenericValue()
          Non-public method that returns a copy of the underlying GenericValue.
 
Methods inherited from class com.atlassian.jira.issue.fields.CustomFieldImpl
areDifferent, availableForBulkEdit, canRemoveValueFromIssueObject, compare, compareTo, createAssociatedSearchHandler, createValue, equals, getAssociatedIssueTypes, getAssociatedProjectCategories, getAssociatedProjectCategoryObjects, getAssociatedProjectObjects, getAssociatedProjects, getBulkEditHtml, getClauseNames, getColumnCssClass, getColumnHeadingKey, getColumnViewHtml, getConfigurationItemTypes, getConfigurationSchemes, getCreateHtml, getCreateHtml, getCustomFieldSearcher, getCustomFieldType, getCustomFieldValues, getDefaultSortOrder, getDefaultValue, getDescription, getDescriptionProperty, getEditHtml, getEditHtml, getEventPublisher, getFieldName, getFieldTypeInfo, getGenericValue, getHiddenFieldId, getI18nHelper, getId, getIdAsLong, getJsonDefaultValue, getJsonFromIssue, getJsonSchema, getName, getNameKey, getOptions, getOptions, getParamKeyIssueId, getParamKeyProjectId, getPropertySet, getRelevantConfig, getRelevantConfig, getRelevantParams, getReleventConfig, getRestFieldOperation, getSortComparatorSource, getSorter, getSortFields, getUntranslatedDescription, getUntranslatedDescriptionProperty, getUntranslatedName, getValue, getValueFromIssue, getValueFromParams, getViewHtml, getViewHtml, getViewHtml, hasBulkUpdatePermission, hashCode, hasParam, hasValue, isAllIssueTypes, isAllProjects, isEditable, isEnabled, isGlobal, isInScope, isInScope, isInScope, isInScope, isInScopeForSearch, isRenderable, isShown, needsMove, populateDefaults, populateForMove, populateFromIssue, populateFromParams, populateParamsFromString, prettyPrintChangeHistory, prettyPrintChangeHistory, remove, removeValueFromIssueObject, setCustomFieldSearcher, setDescription, setName, store, toString, updateIssue, updateValue, validateFromActionParams, validateParams
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomFieldTestImpl

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)
Method Detail

copyGenericValue

public org.ofbiz.core.entity.GenericValue copyGenericValue()
Description copied from class: CustomFieldImpl
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.

Overrides:
copyGenericValue in class CustomFieldImpl
Returns:
the underlying GenericValue


Copyright © 2002-2014 Atlassian. All Rights Reserved.