public interface

JqlFunctionHandlerRegistry

com.atlassian.jira.jql.operand.registry.JqlFunctionHandlerRegistry
Known Indirect Subclasses

Class Overview

Registry for JqlFunctions. Can resolve a OperandHandler of type FunctionOperand for a provided FunctionOperand. The handler returned wraps a registered JqlFunction.

Summary

Public Methods
List<String> getAllFunctionNames()
Fetches all function names ordered alphabetically.
FunctionOperandHandler getOperandHandler(FunctionOperand operand)
Fetches the associated OperandHandler for the provided FunctionOperand.

Public Methods

public List<String> getAllFunctionNames ()

Fetches all function names ordered alphabetically.

Returns
  • all function names ordered alphabetically, an empty collection if there are none.

public FunctionOperandHandler getOperandHandler (FunctionOperand operand)

Fetches the associated OperandHandler for the provided FunctionOperand. The returned handler is looked up by the name of the FunctionOperand (case insensitive).

Parameters
operand that defines the name for which we want to find the operand handler.
Returns
  • the operand handler associated with this operand, null if there is none.