public final class SearchHandlerBuilderFactory.SearchHandlerBuilder extends Object
SearchHandler
instances.
ClauseContextFactory
is by default set to SimpleClauseContextFactory
,
all the other things need to be provided, otherwise the build method will throw an illegal state exception.
Constructor and Description |
---|
SearchHandlerBuilder(ClauseInformation clauseInformation) |
Modifier and Type | Method and Description |
---|---|
SearchHandlerBuilderFactory.SearchHandlerBuilder |
addIndexer(FieldIndexer indexer) |
SearchHandler |
build() |
SearchHandler |
buildWithValuesGenerator(ClauseValuesGenerator generator) |
SearchHandlerBuilderFactory.SearchHandlerBuilder |
setClauseQueryFactoryType(Class<? extends ClauseQueryFactory> clauseQueryFactoryType) |
SearchHandlerBuilderFactory.SearchHandlerBuilder |
setClauseValidatorType(Class<? extends ClauseValidator> clauseValidatorType) |
SearchHandlerBuilderFactory.SearchHandlerBuilder |
setContextFactory(ClauseContextFactory classContextFactoryType) |
SearchHandlerBuilderFactory.SearchHandlerBuilder |
setPermissionChecker(ClausePermissionChecker permissionChecker) |
SearchHandlerBuilderFactory.SearchHandlerBuilder |
setPermissionHandler(ClausePermissionHandler permissionHandler) |
public SearchHandlerBuilder(ClauseInformation clauseInformation)
public SearchHandlerBuilderFactory.SearchHandlerBuilder setClauseQueryFactoryType(Class<? extends ClauseQueryFactory> clauseQueryFactoryType)
public SearchHandlerBuilderFactory.SearchHandlerBuilder setClauseValidatorType(Class<? extends ClauseValidator> clauseValidatorType)
public SearchHandlerBuilderFactory.SearchHandlerBuilder setContextFactory(ClauseContextFactory classContextFactoryType)
public SearchHandlerBuilderFactory.SearchHandlerBuilder setPermissionHandler(ClausePermissionHandler permissionHandler)
public SearchHandlerBuilderFactory.SearchHandlerBuilder setPermissionChecker(ClausePermissionChecker permissionChecker)
public SearchHandlerBuilderFactory.SearchHandlerBuilder addIndexer(FieldIndexer indexer)
public SearchHandler buildWithValuesGenerator(ClauseValuesGenerator generator)
public SearchHandler build()
Copyright © 2002-2018 Atlassian. All Rights Reserved.