com.atlassian.jira.issue.search.searchers.util
Class RecursiveClauseVisitor

java.lang.Object
  extended by com.atlassian.jira.issue.search.searchers.util.RecursiveClauseVisitor
All Implemented Interfaces:
ClauseVisitor<Void>
Direct Known Subclasses:
NamedTerminalClauseCollectingVisitor, TerminalClauseCollectingVisitor

public class RecursiveClauseVisitor
extends Object
implements ClauseVisitor<Void>

A base clause visitor that recursively visits each clause in a clause tree.

Since:
v4.0

Constructor Summary
RecursiveClauseVisitor()
           
 
Method Summary
 Void visit(AndClause andClause)
          Visit called when accepting a AndClause.
 Void visit(ChangedClause clause)
          Visit called when accepting a ChangedClause.
 Void visit(NotClause notClause)
          Visit called when accepting a NotClause.
 Void visit(OrClause orClause)
          Visit called when accepting a OrClause.
 Void visit(TerminalClause clause)
          Visit called when accepting a TerminalClause.
 Void 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

RecursiveClauseVisitor

public RecursiveClauseVisitor()
Method Detail

visit

public Void visit(AndClause andClause)
Description copied from interface: ClauseVisitor
Visit called when accepting a AndClause.

Specified by:
visit in interface ClauseVisitor<Void>
Parameters:
andClause - the node being visited.
Returns:
The return type specified by the visitor.

visit

public Void visit(NotClause notClause)
Description copied from interface: ClauseVisitor
Visit called when accepting a NotClause.

Specified by:
visit in interface ClauseVisitor<Void>
Parameters:
notClause - the node being visited.
Returns:
The return type specified by the visitor.

visit

public Void visit(OrClause orClause)
Description copied from interface: ClauseVisitor
Visit called when accepting a OrClause.

Specified by:
visit in interface ClauseVisitor<Void>
Parameters:
orClause - the node being visited.
Returns:
The return type specified by the visitor.

visit

public Void visit(TerminalClause clause)
Description copied from interface: ClauseVisitor
Visit called when accepting a TerminalClause.

Specified by:
visit in interface ClauseVisitor<Void>
Parameters:
clause - the node being visited.
Returns:
The return type specified by the visitor.

visit

public Void visit(WasClause clause)
Description copied from interface: ClauseVisitor
Visit called when accepting a WasClause.

Specified by:
visit in interface ClauseVisitor<Void>
Parameters:
clause - the node being visited.
Returns:
The return type specified by the visitor.

visit

public Void visit(ChangedClause clause)
Description copied from interface: ClauseVisitor
Visit called when accepting a ChangedClause.

Specified by:
visit in interface ClauseVisitor<Void>
Parameters:
clause - the node being visited.
Returns:
The return type specified by the visitor.


Copyright © 2002-2012 Atlassian. All Rights Reserved.