public class RelevantSearcherVisitor extends Object implements ClauseVisitor<Boolean>
TerminalClause
it is determined what IssueSearcher
is responsible for its searching.
The searching user is passed into the constructor for visibility checking.Constructor and Description |
---|
RelevantSearcherVisitor(SearchHandlerManager searchHandlerManager,
com.atlassian.crowd.embedded.api.User user) |
Modifier and Type | Method and Description |
---|---|
Set<IssueSearcher> |
getRelevantSearchers() |
Boolean |
visit(AndClause andClause)
Visit called when accepting a
AndClause . |
Boolean |
visit(ChangedClause clause)
Visit called when accepting a
ChangedClause . |
Boolean |
visit(NotClause notClause)
Visit called when accepting a
NotClause . |
Boolean |
visit(OrClause orClause)
Visit called when accepting a
OrClause . |
Boolean |
visit(TerminalClause clause)
Visit called when accepting a
TerminalClause . |
Boolean |
visit(WasClause clause)
Visit called when accepting a
WasClause . |
public RelevantSearcherVisitor(SearchHandlerManager searchHandlerManager, com.atlassian.crowd.embedded.api.User user)
public Set<IssueSearcher> getRelevantSearchers()
public Boolean visit(AndClause andClause)
ClauseVisitor
AndClause
.visit
in interface ClauseVisitor<Boolean>
andClause
- the node being visited.public Boolean visit(NotClause notClause)
ClauseVisitor
NotClause
.visit
in interface ClauseVisitor<Boolean>
notClause
- the node being visited.public Boolean visit(OrClause orClause)
ClauseVisitor
OrClause
.visit
in interface ClauseVisitor<Boolean>
orClause
- the node being visited.public Boolean visit(TerminalClause clause)
ClauseVisitor
TerminalClause
.visit
in interface ClauseVisitor<Boolean>
clause
- the node being visited.public Boolean visit(WasClause clause)
ClauseVisitor
WasClause
.visit
in interface ClauseVisitor<Boolean>
clause
- the node being visited.public Boolean visit(ChangedClause clause)
ClauseVisitor
ChangedClause
.visit
in interface ClauseVisitor<Boolean>
clause
- the node being visited.Copyright © 2002-2015 Atlassian. All Rights Reserved.