Package org.jbpm.services.api.query
Interface QueryParamBuilder<T>
-
- Type Parameters:
T
- type of filter instances
- All Known Implementing Classes:
CoreFunctionQueryParamBuilder
,UserTaskPotOwnerQueryBuilder
public interface QueryParamBuilder<T>
QueryParamBuilder is responsible for building up one or more filter parameters. QueryService (that is primary consumer of this builder) will call thebuild
method as long as it returns non null value. That way it allows to build multiple filters from single builder or build complex filters e.g. nested etc with single builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
build()
Builds single condition per invocation and it is invoked as long as it returns non null value.
-
-
-
Method Detail
-
build
T build()
Builds single condition per invocation and it is invoked as long as it returns non null value.- Returns:
- filter condition to be applied on query or null if done building.
-
-