|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.search.util.FreeTextVisitor
public class FreeTextVisitor
Look through the query and try and find "text" searching conditions. We use a simple hueristic that any TerminalClause with a "LIKE" and "NOT LIKE" means a text match.
Constructor Summary | |
---|---|
FreeTextVisitor()
|
Method Summary | |
---|---|
static boolean |
containsFreeTextCondition(Clause clause)
|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FreeTextVisitor()
Method Detail |
---|
public static boolean containsFreeTextCondition(Clause clause)
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |