public class

ProjectCustomFieldValueProvider

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

Class Overview

An implementation of the CustomFieldValueProvider for retreiving the project value.

Summary

Public Constructors
ProjectCustomFieldValueProvider(ProjectConverter projectConverter)
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 ProjectCustomFieldValueProvider (ProjectConverter projectConverter)

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.