Package com.atlassian.jira.jql.util
Class RecursiveClauseMappingVisitor
java.lang.Object
com.atlassian.jira.jql.util.RecursiveClauseMappingVisitor
- All Implemented Interfaces:
ClauseVisitor<Clause>
A base clause visitor that recursively visits each clause in a clause tree, apply mapping and return transformed clause.
- Since:
- v8.15
-
Constructor Summary
-
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
-
RecursiveClauseMappingVisitor
public RecursiveClauseMappingVisitor()
-
-
Method Details
-
visit
Description copied from interface:ClauseVisitor
Visit called when accepting aAndClause
.- Specified by:
visit
in interfaceClauseVisitor<Clause>
- Parameters:
andClause
- the node being visited.- Returns:
- The return type specified by the visitor.
-
visit
Description copied from interface:ClauseVisitor
Visit called when accepting aNotClause
.- Specified by:
visit
in interfaceClauseVisitor<Clause>
- Parameters:
notClause
- the node being visited.- Returns:
- The return type specified by the visitor.
-
visit
Description copied from interface:ClauseVisitor
Visit called when accepting aOrClause
.- Specified by:
visit
in interfaceClauseVisitor<Clause>
- Parameters:
orClause
- the node being visited.- Returns:
- The return type specified by the visitor.
-
visit
Description copied from interface:ClauseVisitor
Visit called when accepting aTerminalClause
.- Specified by:
visit
in interfaceClauseVisitor<Clause>
- Parameters:
clause
- the node being visited.- Returns:
- The return type specified by the visitor.
-
visit
Description copied from interface:ClauseVisitor
Visit called when accepting aWasClause
.- Specified by:
visit
in interfaceClauseVisitor<Clause>
- Parameters:
clause
- the node being visited.- Returns:
- The return type specified by the visitor.
-
visit
Description copied from interface:ClauseVisitor
Visit called when accepting aChangedClause
.- Specified by:
visit
in interfaceClauseVisitor<Clause>
- Parameters:
clause
- the node being visited.- Returns:
- The return type specified by the visitor.
-