| com.atlassian.jira.jql.operand.JqlOperandResolver |
Known Indirect Subclasses
|
Responsible for validating Operands and extracting the
QueryLiteral values from them.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the single value contained within the passed operand.
| |||||||||||
Return the values contained within the passed operand.
| |||||||||||
Return the values contained within the passed operand.
| |||||||||||
Returns true if the operand represents an EMPTY operand.
| |||||||||||
Returns true if the passed operand is a function call.
| |||||||||||
Returns true if the passed operand returns a list of values.
| |||||||||||
Returns true if the operand is one which is known about.
| |||||||||||
Sanitise a function operand for the specified user, so that information is not leaked.
| |||||||||||
Validates the operand against its handler.
| |||||||||||
Returns the single value contained within the passed operand. If the operand contains more than one value, an exception is thrown.
| user | the user who is retrieving the values. May be null. |
|---|---|
| operand | the operand whose values should be returned. Must not be null. |
| clause | the terminal clause that contained the operand |
| IllegalArgumentException | if the operand contains more than one value. |
|---|
Return the values contained within the passed operand.
| searcher | the user performing the search |
|---|---|
| operand | the operand whose values should be returned. Must not be null. |
| terminalClause | the terminal clause that contained the operand |
Return the values contained within the passed operand.
| queryCreationContext | the context of query creation |
|---|---|
| operand | the operand whose values should be returned. Must not be null. |
| terminalClause | the terminal clause that contained the operand |
Returns true if the operand represents an EMPTY operand.
| operand | the operand to check if it is a EMPTY operand |
|---|
Returns true if the passed operand is a function call.
| operand | the operand to check. Cannot be null. |
|---|
Returns true if the passed operand returns a list of values.
| operand | the operand to check. Cannot be null. |
|---|
Returns true if the operand is one which is known about. This is:
SingleValueOperands
MultiValueOperands
EmptyOperands
FunctionOperands registered as JqlFunctions
| operand | the operand; cannot be null. |
|---|
Sanitise a function operand for the specified user, so that information is not leaked.
| searcher | the user performing the search |
|---|---|
| operand | the operand to sanitise; will only be sanitised if valid |
Validates the operand against its handler.
| user | the user who is validating. May be null. |
|---|---|
| operand | the operand to be validated. Must not be null. |
| terminalClause | the terminal clause that contained the operand |
MessageSet containing any errors reported. Note: if the operand is
unknown, an error message will be added to the message set returned. Never null.