public class

FieldAndPredicateAutoCompleteResultGenerator

extends Object
java.lang.Object
   ↳ com.atlassian.jira.rest.internal.jql.FieldAndPredicateAutoCompleteResultGenerator

Class Overview

Generates JQL autocomplete results basing on either field or predicate.

Summary

Nested Classes
class FieldAndPredicateAutoCompleteResultGenerator.Result  
Constants
int MAX_RESULTS
Public Constructors
FieldAndPredicateAutoCompleteResultGenerator(JiraAuthenticationContext authenticationContext, JqlStringSupport jqlStringSupport, SearchHandlerManager searchHandlerManager, PredicateRegistry predicateRegistry)
Public Methods
Iterable<FieldAndPredicateAutoCompleteResultGenerator.Result> getAutoCompleteResultsForField(String fieldName, String fieldValue)
Iterable<FieldAndPredicateAutoCompleteResultGenerator.Result> getAutoCompleteResultsForPredicate(String predicateName, String predicateValue, String fieldName)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int MAX_RESULTS

Constant Value: 15 (0x0000000f)

Public Constructors

public FieldAndPredicateAutoCompleteResultGenerator (JiraAuthenticationContext authenticationContext, JqlStringSupport jqlStringSupport, SearchHandlerManager searchHandlerManager, PredicateRegistry predicateRegistry)

Public Methods

public Iterable<FieldAndPredicateAutoCompleteResultGenerator.Result> getAutoCompleteResultsForField (String fieldName, String fieldValue)

public Iterable<FieldAndPredicateAutoCompleteResultGenerator.Result> getAutoCompleteResultsForPredicate (String predicateName, String predicateValue, String fieldName)