Interface IntegrationRuleQuery.Builder
- Enclosing interface:
- IntegrationRuleQuery
public static interface IntegrationRuleQuery.Builder
Creates an instance of
IntegrationRuleQuery
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a completedQuery
object.withAllQueryObjectRules
(boolean useAllQueryRules) Sets all availableQueryObjectRule
s for the integration rule query.withIntegrationRule
(String name) Sets theIntegrationRule
, by name, for the integration rule query.withQueryObjectRules
(List<String> queryObjectRulesList) Sets a specified list ofQueryObjectRule
s for the integration rule query.
-
Method Details
-
withIntegrationRule
Sets theIntegrationRule
, by name, for the integration rule query.- Parameters:
name
- specifies integration rule name. Required and cannot be null.- Returns:
- this
IntegrationRuleQuery.Builder
-
withQueryObjectRules
Sets a specified list ofQueryObjectRule
s for the integration rule query.- Parameters:
queryObjectRulesList
- specifies list of QueryObjectRules by name. Required and cannot be null.- Returns:
- this
IntegrationRuleQuery.Builder
-
withAllQueryObjectRules
Sets all availableQueryObjectRule
s for the integration rule query.- Parameters:
useAllQueryRules
- specifies if all available QueryObjectRules are used. Cannot be null.- Returns:
- this
IntegrationRuleQuery.Builder
-
build
Query build()Returns a completedQuery
object.- Returns:
- the completed Query
-