com.atlassian.jira.issue.fields
Class CustomFieldTestImpl
java.lang.Object
com.atlassian.jira.issue.fields.CustomFieldImpl
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.
Constructor Summary |
CustomFieldTestImpl(CustomField customField)
|
CustomFieldTestImpl(CustomFieldImpl customField)
|
CustomFieldTestImpl(org.ofbiz.core.entity.GenericValue customField,
CustomFieldManager customFieldManager,
JiraAuthenticationContext authenticationContext,
ConstantsManager constantsManager,
FieldConfigSchemeManager fieldConfigSchemeManager,
PermissionManager permissionManager,
RendererManager rendererManager,
FieldConfigSchemeClauseContextUtil contextUtil,
CustomFieldDescription customFieldDescription,
I18nHelper.BeanFactory i18nFactory,
FeatureManager featureManager)
|
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, getRelevantConfig, getRelevantConfig, getRelevantParams, getReleventConfig, getRestFieldOperation, getSortComparatorSource, getSorter, getSortFields, getValue, getValueFromIssue, getValueFromParams, getViewHtml, getViewHtml, getViewHtml, hasBulkUpdatePermission, hashCode, hasParam, hasValue, isAllIssueTypes, isAllProjects, isEditable, isEnabled, isGlobal, isInScope, isInScope, isInScope, isInScope, isRenderable, isShown, needsMove, populateDefaults, populateForMove, populateFromIssue, populateFromParams, populateParamsFromString, prettyPrintChangeHistory, prettyPrintChangeHistory, remove, removeValueFromIssueObject, setConfigurationSchemes, setCustomFieldSearcher, setDescription, setName, store, toString, updateIssue, updateValue, validateFromActionParams, validateParams |
CustomFieldTestImpl
public CustomFieldTestImpl(org.ofbiz.core.entity.GenericValue customField,
CustomFieldManager customFieldManager,
JiraAuthenticationContext authenticationContext,
ConstantsManager constantsManager,
FieldConfigSchemeManager fieldConfigSchemeManager,
PermissionManager permissionManager,
RendererManager rendererManager,
FieldConfigSchemeClauseContextUtil contextUtil,
CustomFieldDescription customFieldDescription,
I18nHelper.BeanFactory i18nFactory,
FeatureManager featureManager)
CustomFieldTestImpl
public CustomFieldTestImpl(CustomField customField)
CustomFieldTestImpl
public CustomFieldTestImpl(CustomFieldImpl customField)
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-2013 Atlassian. All Rights Reserved.