Class LabelIndexInfoResolver

java.lang.Object
com.atlassian.jira.jql.resolver.LabelIndexInfoResolver
All Implemented Interfaces:
IndexInfoResolver<Label>

public class LabelIndexInfoResolver extends Object implements IndexInfoResolver<Label>
An index resolver for the Labels system field.
Since:
v4.2
  • Constructor Details

    • LabelIndexInfoResolver

      public LabelIndexInfoResolver(boolean isLowerCasing)
  • Method Details

    • getIndexedValues

      public List<String> getIndexedValues(String rawValue)
      Description copied from interface: IndexInfoResolver
      Provides the values in the index for the operand with the given String value.
      Specified by:
      getIndexedValues in interface IndexInfoResolver<Label>
      Parameters:
      rawValue - the value whose indexed term equivalent is to be returned.
      Returns:
      the values to put or search for in the index, possibly empty, never containing null.
    • getIndexedValues

      public List<String> getIndexedValues(Long rawValue)
      Description copied from interface: IndexInfoResolver
      Provides the values in the index for the single value operand with the given Long value.
      Specified by:
      getIndexedValues in interface IndexInfoResolver<Label>
      Parameters:
      rawValue - the value whose indexed term equivalent is to be returned.
      Returns:
      the values to put or search for in the index, possibly empty, never containing null.
    • getIndexedValue

      public String getIndexedValue(Label label)
      Description copied from interface: IndexInfoResolver
      Gets an indexed value from a domain object.
      Specified by:
      getIndexedValue in interface IndexInfoResolver<Label>
      Parameters:
      label - the domain object. Does not accept null.
      Returns:
      the indexed value.