java.lang.Object | |
↳ | com.atlassian.jira.jql.permission.DefaultOperandSanitisingVisitor |
The default strategy for sanitising an arbitrary Operand
is:
EmptyOperand
s do not need sanitising;
FunctionOperand
s have their arguments sanitised by JqlOperandResolver
;
MultiValueOperand
s must have their children sanitised and potentially recombined
into a new MultiValueOperand instance.
SingleValueOperand
s should be sanitised depending on the context (what field's values
we are dealing with). But we don't know about that here, so we just return the operand back.
In general, if no sanitisation is required, the input Operand
should be returned.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The method called when visiting an
SingleValueOperand . | |||||||||||
The method called when visiting a
FunctionOperand . | |||||||||||
The method called when visiting an
MultiValueOperand . | |||||||||||
The method called when visiting an
EmptyOperand . |
[Expand]
Inherited Methods | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||
From interface
com.atlassian.query.operand.OperandVisitor
|
The method called when visiting an SingleValueOperand
.
singleValueOperand | the operand being visited. |
---|
The method called when visiting a FunctionOperand
.
function | the operand being visited. |
---|
The method called when visiting an MultiValueOperand
.
originalMulti | the operand being visited. |
---|
The method called when visiting an EmptyOperand
.
empty | the operand being visited. |
---|