public interface IncrementalRuleEngineUpdateStrategy
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldUpdateIncrementally(ReleaseId releaseId,
java.lang.String moduleName,
java.util.Collection<DroolsRuleModel> rulesToAdd,
java.util.Collection<DroolsRuleModel> rulesToRemove)
Given the rules module and the list (per kie base) of rules to add and remove, returns true if the incremental update would
be the better strategy, false otherwise
|
boolean shouldUpdateIncrementally(ReleaseId releaseId,
java.lang.String moduleName,
java.util.Collection<DroolsRuleModel> rulesToAdd,
java.util.Collection<DroolsRuleModel> rulesToRemove)
releaseId - instance of currently deployed kie container ReleaseIdmoduleName - name of the rules modulerulesToAdd - collection of drool rules to be added or updatedrulesToRemove - collection of drool rules to be removedCopyright © 2018 SAP SE. All Rights Reserved.