@NonInjectableComponent public class

ClauseSanitisingVisitor

extends Object
implements ClauseVisitor<R>
java.lang.Object
   ↳ com.atlassian.jira.jql.permission.ClauseSanitisingVisitor

Class Overview

A visitor for converting a clause into its sanitised form.

Summary

Public Constructors
ClauseSanitisingVisitor(SearchHandlerManager searchHandlerManager, JqlOperandResolver jqlOperandResolver, ApplicationUser user)
Public Methods
Clause visit(OrClause orClause)
Visit called when accepting a OrClause.
Clause visit(NotClause notClause)
Visit called when accepting a NotClause.
Clause visit(AndClause andClause)
Visit called when accepting a AndClause.
Clause visit(TerminalClause clause)
Visit called when accepting a TerminalClause.
Clause visit(ChangedClause clause)
Visit called when accepting a ChangedClause.
Clause visit(WasClause clause)
Visit called when accepting a WasClause.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.query.clause.ClauseVisitor

Public Constructors

public ClauseSanitisingVisitor (SearchHandlerManager searchHandlerManager, JqlOperandResolver jqlOperandResolver, ApplicationUser user)

Public Methods

public Clause visit (OrClause orClause)

Visit called when accepting a OrClause.

Parameters
orClause the node being visited.
Returns
  • The return type specified by the visitor.

public Clause visit (NotClause notClause)

Visit called when accepting a NotClause.

Parameters
notClause the node being visited.
Returns
  • The return type specified by the visitor.

public Clause visit (AndClause andClause)

Visit called when accepting a AndClause.

Parameters
andClause the node being visited.
Returns
  • The return type specified by the visitor.

public Clause visit (TerminalClause clause)

Visit called when accepting a TerminalClause.

Parameters
clause the node being visited.
Returns
  • The return type specified by the visitor.

public Clause visit (ChangedClause clause)

Visit called when accepting a ChangedClause.

Parameters
clause the node being visited.
Returns
  • The return type specified by the visitor.

public Clause visit (WasClause clause)

Visit called when accepting a WasClause.

Parameters
clause the node being visited.
Returns
  • The return type specified by the visitor.