@InjectableComponent public final class

CommentSearchHandlerFactory

extends Object
implements SearchHandlerFactory
java.lang.Object
   ↳ com.atlassian.jira.issue.search.handlers.CommentSearchHandlerFactory

Class Overview

Class to create the SearchHandler for the comments clause.

Summary

Public Constructors
CommentSearchHandlerFactory(ComponentFactory componentFactory, CommentClauseQueryFactory queryFactory, CommentValidator queryValidator, FieldClausePermissionChecker.Factory clausePermissionFactory)
Public Methods
final SearchHandler createHandler(SearchableField field)
Create the SearchHandler using for the passed field.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.search.handlers.SearchHandlerFactory

Public Constructors

public CommentSearchHandlerFactory (ComponentFactory componentFactory, CommentClauseQueryFactory queryFactory, CommentValidator queryValidator, FieldClausePermissionChecker.Factory clausePermissionFactory)

Public Methods

public final SearchHandler createHandler (SearchableField field)

Create the SearchHandler using for the passed field.

Parameters
field the field to create the handler for.
Returns
  • a new SearchHandler for the passed field. Should never return null.