public final class

DefaultCustomFieldValueProvider

extends Object
implements CustomFieldValueProvider
java.lang.Object
   ↳ com.atlassian.jira.issue.customfields.DefaultCustomFieldValueProvider

Class Overview

Default implementation of the CustomFieldValueProvider

Summary

Public Constructors
DefaultCustomFieldValueProvider()
Public Methods
Object getStringValue(CustomField customField, FieldValuesHolder fieldValuesHolder)
Provides a string value representation of the value specified for this searcher.
Object getValue(CustomField customField, FieldValuesHolder fieldValuesHolder)
Provides an object value representation of the value specified for this searcher.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.customfields.CustomFieldValueProvider

Public Constructors

public DefaultCustomFieldValueProvider ()

Public Methods

public Object getStringValue (CustomField customField, FieldValuesHolder fieldValuesHolder)

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".

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.

public Object getValue (CustomField customField, FieldValuesHolder fieldValuesHolder)

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".

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.