public final class SingleValueCustomFieldValueProvider extends Object implements CustomFieldValueProvider
CustomFieldValueProvider
for retreiving single values. If a holder contains a non-empty lsit
the first value is returned.Constructor and Description |
---|
SingleValueCustomFieldValueProvider() |
Modifier and Type | Method and Description |
---|---|
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.
|
public Object getStringValue(CustomField customField, FieldValuesHolder fieldValuesHolder)
CustomFieldValueProvider
getStringValue
in interface CustomFieldValueProvider
customField
- the custom field that is using this searcher.fieldValuesHolder
- contains values populated by the populate methods of the input transformer.public Object getValue(CustomField customField, FieldValuesHolder fieldValuesHolder)
CustomFieldValueProvider
getValue
in interface CustomFieldValueProvider
customField
- the custom field that is using this searcher.fieldValuesHolder
- contains values populated by the populate methods of the input transformer.Copyright © 2002-2021 Atlassian. All Rights Reserved.