Interface IntegrationRuleQuery.Builder
- Enclosing interface:
- IntegrationRuleQuery
public static interface IntegrationRuleQuery.Builder
Creates an instance of
IntegrationRuleQuery.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns a completedQueryobject.withAllQueryObjectRules(boolean useAllQueryRules) Sets all availableQueryObjectRules 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 ofQueryObjectRules 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 ofQueryObjectRules 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 availableQueryObjectRules 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 completedQueryobject.- Returns:
- the completed Query
-