|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.search.ClauseRemovingCloningVisitor
public class ClauseRemovingCloningVisitor
A visitor that will remove the specified named clauses from the query tree. NOTE: it is possible to remove all clauses from a tree which will result in a null clause.
Constructor Summary | |
---|---|
ClauseRemovingCloningVisitor(List<String> clauseNamesToRemove)
|
Method Summary | |
---|---|
Clause |
visit(AndClause andClause)
Visit called when accepting a AndClause . |
Clause |
visit(ChangedClause clause)
Visit called when accepting a ChangedClause . |
Clause |
visit(NotClause notClause)
Visit called when accepting a NotClause . |
Clause |
visit(OrClause orClause)
Visit called when accepting a OrClause . |
Clause |
visit(TerminalClause clause)
Visit called when accepting a TerminalClause . |
Clause |
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 ClauseRemovingCloningVisitor(List<String> clauseNamesToRemove)
Method Detail |
---|
public Clause visit(AndClause andClause)
ClauseVisitor
AndClause
.
visit
in interface ClauseVisitor<Clause>
andClause
- the node being visited.
public Clause visit(NotClause notClause)
ClauseVisitor
NotClause
.
visit
in interface ClauseVisitor<Clause>
notClause
- the node being visited.
public Clause visit(OrClause orClause)
ClauseVisitor
OrClause
.
visit
in interface ClauseVisitor<Clause>
orClause
- the node being visited.
public Clause visit(TerminalClause clause)
ClauseVisitor
TerminalClause
.
visit
in interface ClauseVisitor<Clause>
clause
- the node being visited.
public Clause visit(WasClause clause)
ClauseVisitor
WasClause
.
visit
in interface ClauseVisitor<Clause>
clause
- the node being visited.
public Clause visit(ChangedClause clause)
ClauseVisitor
ChangedClause
.
visit
in interface ClauseVisitor<Clause>
clause
- the node being visited.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |