com.atlassian.jira.issue.search.searchers.impl
Class OperatorCollectingVisitor

java.lang.Object
  extended by com.atlassian.jira.issue.search.searchers.impl.OperatorCollectingVisitor
All Implemented Interfaces:
ClauseVisitor<java.lang.Void>

public class OperatorCollectingVisitor
extends java.lang.Object
implements ClauseVisitor<java.lang.Void>


Constructor Summary
OperatorCollectingVisitor()
           
 
Method Summary
 java.util.Set<Operator> getOperators()
           
 java.lang.Void visit(AndClause andClause)
          Visit called when accepting a AndClause.
 java.lang.Void visit(NotClause notClause)
          Visit called when accepting a NotClause.
 java.lang.Void visit(OrClause orClause)
          Visit called when accepting a OrClause.
 java.lang.Void visit(TerminalClause clause)
          Visit called when accepting a TerminalClause.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorCollectingVisitor

public OperatorCollectingVisitor()
Method Detail

getOperators

public java.util.Set<Operator> getOperators()

visit

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

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

visit

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

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

visit

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

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

visit

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

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


Copyright © 2002-2010 Atlassian. All Rights Reserved.