Class DefaultCustomFieldValueProvider
java.lang.Object
com.atlassian.jira.issue.customfields.DefaultCustomFieldValueProvider
- All Implemented Interfaces:
CustomFieldValueProvider
public final class DefaultCustomFieldValueProvider
extends Object
implements CustomFieldValueProvider
Default implementation of the
CustomFieldValueProvider
- Since:
- v4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetStringValue
(CustomField customField, FieldValuesHolder fieldValuesHolder) Provides a string value representation of the value specified for this searcher.getValue
(CustomField customField, FieldValuesHolder fieldValuesHolder) Provides an object value representation of the value specified for this searcher.
-
Constructor Details
-
DefaultCustomFieldValueProvider
public DefaultCustomFieldValueProvider()
-
-
Method Details
-
getStringValue
Description copied from interface:CustomFieldValueProvider
Provides a string value representation of the value specified for this searcher. The result is used to populate the velocity context with the variable "value".- Specified by:
getStringValue
in interfaceCustomFieldValueProvider
- Parameters:
customField
- the custom field that is using this searcher.fieldValuesHolder
- contains values populated by the populate methods of the input transformer.- Returns:
- a string value representation of the value specified for this searcher.
-
getValue
Description copied from interface:CustomFieldValueProvider
Provides an object value representation of the value specified for this searcher. The result is used to populate the velocity context with the variable "valueObject".- Specified by:
getValue
in interfaceCustomFieldValueProvider
- Parameters:
customField
- the custom field that is using this searcher.fieldValuesHolder
- contains values populated by the populate methods of the input transformer.- Returns:
- an object value representation of the value specified for this searcher.
-