Package com.atlassian.jira.issue.search
Class ClauseRemovingCloningVisitor
java.lang.Object
com.atlassian.jira.issue.search.ClauseRemovingCloningVisitor
- All Implemented Interfaces:
ClauseVisitor<Clause>
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.
- Since:
- v4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit called when accepting aAndClause.visit(ChangedClause clause) Visit called when accepting aChangedClause.Visit called when accepting aNotClause.Visit called when accepting aOrClause.visit(TerminalClause clause) Visit called when accepting aTerminalClause.Visit called when accepting aWasClause.
-
Constructor Details
-
ClauseRemovingCloningVisitor
-
-
Method Details
-
visit
Description copied from interface:ClauseVisitorVisit called when accepting aAndClause.- Specified by:
visitin interfaceClauseVisitor<Clause>- Parameters:
andClause- the node being visited.- Returns:
- The return type specified by the visitor.
-
visit
Description copied from interface:ClauseVisitorVisit called when accepting aNotClause.- Specified by:
visitin interfaceClauseVisitor<Clause>- Parameters:
notClause- the node being visited.- Returns:
- The return type specified by the visitor.
-
visit
Description copied from interface:ClauseVisitorVisit called when accepting aOrClause.- Specified by:
visitin interfaceClauseVisitor<Clause>- Parameters:
orClause- the node being visited.- Returns:
- The return type specified by the visitor.
-
visit
Description copied from interface:ClauseVisitorVisit called when accepting aTerminalClause.- Specified by:
visitin interfaceClauseVisitor<Clause>- Parameters:
clause- the node being visited.- Returns:
- The return type specified by the visitor.
-
visit
Description copied from interface:ClauseVisitorVisit called when accepting aWasClause.- Specified by:
visitin interfaceClauseVisitor<Clause>- Parameters:
clause- the node being visited.- Returns:
- The return type specified by the visitor.
-
visit
Description copied from interface:ClauseVisitorVisit called when accepting aChangedClause.- Specified by:
visitin interfaceClauseVisitor<Clause>- Parameters:
clause- the node being visited.- Returns:
- The return type specified by the visitor.
-