public final class

NumberRangeCustomFieldValueProvider

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

Class Overview

An implementation of the CustomFieldValueProvider for retreiving number range values.

Summary

Public Constructors
NumberRangeCustomFieldValueProvider()
Public Methods
String getGreaterThanKey()
String getLessThanKey()
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 NumberRangeCustomFieldValueProvider ()

Public Methods

public String getGreaterThanKey ()

public String getLessThanKey ()

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.