public interface RuleMaintenanceService
| Modifier and Type | Method and Description |
|---|---|
RuleCompilerPublisherResult |
archiveRule(AbstractRuleModel rule)
Deprecated.
since 1811
|
<T extends SourceRuleModel> |
compileAndPublishRules(java.util.List<T> rules,
java.lang.String moduleName,
boolean enableIncrementalUpdate)
Compiles and publishes rules
|
<T extends SourceRuleModel> |
compileAndPublishRulesWithBlocking(java.util.List<T> rules,
java.lang.String moduleName,
boolean enableIncrementalUpdate)
Compiles and publishes rules with blocking on initialization
|
<T extends SourceRuleModel> |
compileAndPublishRulesWithBlocking(java.util.List<T> rules,
java.lang.String moduleName,
boolean enableIncrementalUpdate,
CronJobProgressTracker cronJobProgressTracker)
Compiles and publishes rules with blocking on initialization
|
RuleCompilerPublisherResult |
initializeAllModules(boolean enableIncrementalUpdate)
Publish/re-publish drools rules for a all available modules
|
RuleCompilerPublisherResult |
initializeModule(java.lang.String moduleName,
boolean enableIncrementalUpdate)
Publish/re-publish drools rules for a specific module
|
java.util.Optional<RuleCompilerPublisherResult> |
synchronizeModules(java.lang.String sourceModuleName,
java.lang.String targetModuleName)
Synchronize the deployed rules between two modules.
|
<T extends SourceRuleModel> |
undeployRules(java.util.List<T> rules,
java.lang.String moduleName)
"Undeploy" (deactivate) the rules in the rule engine
|
@Deprecated RuleCompilerPublisherResult archiveRule(AbstractRuleModel rule)
rule - - rule to archiveRuleCompilerPublisherResult containing the status of rule archiving<T extends SourceRuleModel> RuleCompilerPublisherResult compileAndPublishRules(java.util.List<T> rules, java.lang.String moduleName, boolean enableIncrementalUpdate)
rules - - list of rules to compile and publishmoduleName - Rules module nameenableIncrementalUpdate - flag, if true, enables for incremental updates of the rule engine kie moduleRuleCompilerPublisherResult containing the status of rules compilation and publicationRuleCompilerPublisherResult initializeModule(java.lang.String moduleName, boolean enableIncrementalUpdate)
moduleName - Rules module name to publish the rules forenableIncrementalUpdate - flag, if true, enables for incremental updates of the rule engine kie moduleRuleCompilerPublisherResult containing the status of rules compilation and publicationRuleCompilerPublisherResult initializeAllModules(boolean enableIncrementalUpdate)
enableIncrementalUpdate - flag, if true, enables for incremental updates of the rule engine kie moduleRuleCompilerPublisherResult containing the status of rules compilation and publication<T extends SourceRuleModel> RuleCompilerPublisherResult compileAndPublishRulesWithBlocking(java.util.List<T> rules, java.lang.String moduleName, boolean enableIncrementalUpdate)
rules - - list of rules to compile and publishmoduleName - Rules module nameenableIncrementalUpdate - flag, if true, enables for incremental updates of the rule engine kie moduleRuleCompilerPublisherResult containing the status of rules compilation and publication<T extends SourceRuleModel> RuleCompilerPublisherResult compileAndPublishRulesWithBlocking(java.util.List<T> rules, java.lang.String moduleName, boolean enableIncrementalUpdate, CronJobProgressTracker cronJobProgressTracker)
rules - - list of rules to compile and publishmoduleName - Rules module nameenableIncrementalUpdate - flag, if true, enables for incremental updates of the rule engine kie modulecronJobProgressTracker - instance of CronJobProgressTracker used by cron job framework to track the job executionRuleCompilerPublisherResult containing the status of rules compilation and publication<T extends SourceRuleModel> java.util.Optional<RuleCompilerPublisherResult> undeployRules(java.util.List<T> rules, java.lang.String moduleName)
T - type of the SourceRuleModelrules - instances of SourceRuleModel to undeploy from module if they were deployedmoduleName - the name of the rules module to undeploy the rules fromRuleCompilerPublisherResult containing the status of rules compilation and publicationjava.util.Optional<RuleCompilerPublisherResult> synchronizeModules(java.lang.String sourceModuleName, java.lang.String targetModuleName)
sourceModuleName - The name of the module to be used as a source for synchronisationtargetModuleName - The name of the module to be used as a target for synchronisationRuleCompilerPublisherResult containing the status of rules compilation and publication for
target moduleCopyright © 2018 SAP SE. All Rights Reserved.