Interface RuleEngineCronJobLauncher
- All Known Implementing Classes:
DefaultRuleEngineCronJobLauncher
public interface RuleEngineCronJobLauncher
Interface for the launcher of rule-engine specific tasks
-
Method Summary
Modifier and TypeMethodDescriptionTrigger the whole rule engine (for all modules) initializationtriggerCompileAndPublish(List<SourceRuleModel> rules, String moduleName, boolean enableIncrementalUpdate) Trigger the compilation and publishing of specified rules for a moduletriggerModuleInitialization(String moduleName) Trigger the specified module initialization tasktriggerSynchronizeModules(String srcModuleName, String targetModuleName) Trigger the modules synchronization tasktriggerUndeployRules(List<SourceRuleModel> rules, String moduleName) Trigger the specified rules undeployment process
-
Method Details
-
triggerCompileAndPublish
RuleEngineCronJobModel triggerCompileAndPublish(List<SourceRuleModel> rules, String moduleName, boolean enableIncrementalUpdate) Trigger the compilation and publishing of specified rules for a module- Parameters:
rules- a list ofSourceRuleModelto compile and publishmoduleName- a kie module nameenableIncrementalUpdate- boolean indicating whether the incremental update of rule engine must be employed- Returns:
- the instance of triggered
RuleEngineCronJobModel
-
triggerUndeployRules
Trigger the specified rules undeployment process- Parameters:
rules- a list ofSourceRuleModelto undeploymoduleName- a kie module name to undeploy the rules for- Returns:
- the instance of triggered
RuleEngineCronJobModel
-
triggerSynchronizeModules
Trigger the modules synchronization task- Parameters:
srcModuleName- a name of the kie module to synchronise the rules fromtargetModuleName- a name of the kie module to synchronise the rules to- Returns:
- the instance of triggered
RuleEngineCronJobModel
-
triggerModuleInitialization
Trigger the specified module initialization task- Parameters:
moduleName- a name of the kie module to initialize- Returns:
- the instance of triggered
RuleEngineCronJobModel
-
triggerAllModulesInitialization
RuleEngineCronJobModel triggerAllModulesInitialization()Trigger the whole rule engine (for all modules) initialization- Returns:
- the instance of triggered
RuleEngineCronJobModel
-