com.atlassian.jira.jql.permission
Class ClauseSanitisingVisitor

java.lang.Object
  extended by com.atlassian.jira.jql.permission.ClauseSanitisingVisitor
All Implemented Interfaces:
ClauseVisitor<Clause>

@NonInjectableComponent
public class ClauseSanitisingVisitor
extends java.lang.Object
implements ClauseVisitor<Clause>

A visitor for converting a clause into its sanitised form.

Since:
v4.0

Constructor Summary
ClauseSanitisingVisitor(SearchHandlerManager searchHandlerManager, JqlOperandResolver jqlOperandResolver, com.opensymphony.user.User user)
           
 
Method Summary
 Clause visit(AndClause andClause)
          Visit called when accepting a AndClause.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClauseSanitisingVisitor

public ClauseSanitisingVisitor(SearchHandlerManager searchHandlerManager,
                               JqlOperandResolver jqlOperandResolver,
                               com.opensymphony.user.User user)
Method Detail

visit

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

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

visit

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

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

visit

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

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

visit

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

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


Copyright © 2002-2010 Atlassian. All Rights Reserved.