public final class

DefaultClauseHandler

extends Object
implements ClauseHandler
java.lang.Object
   ↳ com.atlassian.jira.jql.DefaultClauseHandler

Class Overview

A container for all the objects needed to process a Jql clause.

Summary

Public Constructors
DefaultClauseHandler(ClauseInformation information, ClauseQueryFactory factory, DbClauseQueryFactory dbFactory, ClauseValidator validator, ClausePermissionHandler permissionHandler, ClauseContextFactory contextFactory)
Public Methods
boolean equals(Object o)
ClauseContextFactory getClauseContextFactory()
@Nonnull DbClauseQueryFactory getDbClauseFactory()
ClauseQueryFactory getFactory()
ClauseInformation getInformation()
ClausePermissionHandler getPermissionHandler()
ClauseValidator getValidator()
int hashCode()
boolean isDbQueryCapable()
This is an interim SPI method until all searching is fully handled by the database.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.jql.ClauseHandler

Public Constructors

public DefaultClauseHandler (ClauseInformation information, ClauseQueryFactory factory, DbClauseQueryFactory dbFactory, ClauseValidator validator, ClausePermissionHandler permissionHandler, ClauseContextFactory contextFactory)

Public Methods

public boolean equals (Object o)

public ClauseContextFactory getClauseContextFactory ()

@Nonnull public DbClauseQueryFactory getDbClauseFactory ()

public ClauseQueryFactory getFactory ()

public ClauseInformation getInformation ()

public ClausePermissionHandler getPermissionHandler ()

public ClauseValidator getValidator ()

public int hashCode ()

public boolean isDbQueryCapable ()

This is an interim SPI method until all searching is fully handled by the database. Implementations of ClauseHandler should implement this and return true when they add support for returning a DBClauseQueryFactory

Returns
  • true if this handler can generate a clause for a database backed search

public String toString ()