java.lang.Object | |
↳ | com.atlassian.jira.issue.search.optimizers.DeterminedProjectsInQueryVisitor |
A visitor that checks if we can determine any projects from the given query. It visits the given query recursively and each of the visits returns true if any projects could be determined.
For 'or' clause each of its subclauses visits must return true in order to determine project(s) from the whole clause. For 'and' at least one of its subclauses visits must return true in order to determine project(s).
All subclauses always need to be visited no matter what the results is so all projects are collected.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | PROJECT_CLAUSE_NAME |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ALLOWED_OPERATORS | |||||||||||
projectsSetBuilder |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Visit called when accepting a
OrClause . | |||||||||||
Visit called when accepting a
NotClause . | |||||||||||
Visit called when accepting a
AndClause . | |||||||||||
Visit called when accepting a
TerminalClause . | |||||||||||
Visit called when accepting a
ChangedClause . | |||||||||||
Visit called when accepting a
WasClause . |
[Expand]
Inherited Methods | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||||||
From interface
com.atlassian.query.clause.ClauseVisitor
|
Visit called when accepting a OrClause
.
orClause | the node being visited. |
---|
Visit called when accepting a NotClause
.
notClause | the node being visited. |
---|
Visit called when accepting a AndClause
.
andClause | the node being visited. |
---|
Visit called when accepting a TerminalClause
.
terminalClause | the node being visited. |
---|
Visit called when accepting a ChangedClause
.
changedClause | the node being visited. |
---|
Visit called when accepting a WasClause
.
wasClause | the node being visited. |
---|