public class

DefaultPredicateOperandResolver

extends Object
implements PredicateOperandResolver
java.lang.Object
   ↳ com.atlassian.jira.jql.operand.DefaultPredicateOperandResolver

Class Overview

Default implementation of the PredicateOperandResolver

Summary

Public Constructors
DefaultPredicateOperandResolver(PredicateOperandHandlerRegistry handlerRegistry)
Public Methods
List<QueryLiteral> getValues(ApplicationUser searcher, String field, Operand operand)
boolean isEmptyOperand(ApplicationUser searcher, String field, Operand operand)
Returns true if the operand represents an EMPTY operand.
boolean isFunctionOperand(ApplicationUser searcher, String field, Operand operand)
Returns true if the passed operand is a function call.
boolean isListOperand(ApplicationUser searcher, String field, Operand operand)
Returns true if the passed operand returns a list of values.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.jql.operand.PredicateOperandResolver

Public Constructors

public DefaultPredicateOperandResolver (PredicateOperandHandlerRegistry handlerRegistry)

Public Methods

public List<QueryLiteral> getValues (ApplicationUser searcher, String field, Operand operand)

public boolean isEmptyOperand (ApplicationUser searcher, String field, Operand operand)

Returns true if the operand represents an EMPTY operand.

Parameters
operand the operand to check if it is a EMPTY operand
Returns
  • true if the operand is an EMPTY operand, false otherwise.

public boolean isFunctionOperand (ApplicationUser searcher, String field, Operand operand)

Returns true if the passed operand is a function call.

Parameters
operand the operand to check. Cannot be null.
Returns
  • true of the passed operand is a function operand, false otherwise.

public boolean isListOperand (ApplicationUser searcher, String field, Operand operand)

Returns true if the passed operand returns a list of values.

Parameters
operand the operand to check. Cannot be null.
Returns
  • true if the passed operand returns a list of values or false otherwise.