Package com.atlassian.jira.jql
Class DefaultValuesGeneratingClauseHandler
java.lang.Object
com.atlassian.jira.jql.DefaultValuesGeneratingClauseHandler
- All Implemented Interfaces:
ClauseHandler
,ValueGeneratingClauseHandler
public class DefaultValuesGeneratingClauseHandler
extends Object
implements ClauseHandler, ValueGeneratingClauseHandler
- Since:
- v4.0
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultValuesGeneratingClauseHandler
(ClauseInformation clauseInformation, ClauseQueryMapper clauseQueryMapper, ClauseValidator validator, ClausePermissionHandler permissionHandler, ClauseContextFactory contextFactory, ClauseValuesGenerator valuesGenerator) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get a mapper that can create a search query for the clause.int
hashCode()
-
Constructor Details
-
DefaultValuesGeneratingClauseHandler
public DefaultValuesGeneratingClauseHandler(ClauseInformation clauseInformation, ClauseQueryMapper clauseQueryMapper, ClauseValidator validator, ClausePermissionHandler permissionHandler, ClauseContextFactory contextFactory, ClauseValuesGenerator valuesGenerator) - Since:
- 10.4
-
-
Method Details
-
getInformation
- Specified by:
getInformation
in interfaceClauseHandler
- Returns:
- an object that contains some static naming information (clause names, field id, index id) about the clause handler and its associations.
-
getClauseValuesGenerator
- Specified by:
getClauseValuesGenerator
in interfaceValueGeneratingClauseHandler
-
getMapper
Description copied from interface:ClauseHandler
Get a mapper that can create a search query for the clause.- Specified by:
getMapper
in interfaceClauseHandler
- Returns:
- @{link ClauseQueryMapper} that can create a search query for the clause.
-
getValidator
- Specified by:
getValidator
in interfaceClauseHandler
- Returns:
- a validator that will inspect the clause and return any validation errors it encounters.
-
getPermissionHandler
- Specified by:
getPermissionHandler
in interfaceClauseHandler
- Returns:
- a permission handler that will check the users who is executing the queries permission to include the clause.
-
getClauseContextFactory
- Specified by:
getClauseContextFactory
in interfaceClauseHandler
- Returns:
- a clause context factory that will be able to generate the clause context
-
equals
-
hashCode
public int hashCode()
-