Interface RuleEngineCronJobLauncher
-
- All Known Implementing Classes:
DefaultRuleEngineCronJobLauncher
public interface RuleEngineCronJobLauncherInterface for the launcher of rule-engine specific tasks
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuleEngineCronJobModeltriggerAllModulesInitialization()Trigger the whole rule engine (for all modules) initializationRuleEngineCronJobModeltriggerCompileAndPublish(java.util.List<SourceRuleModel> rules, java.lang.String moduleName, boolean enableIncrementalUpdate)Trigger the compilation and publishing of specified rules for a moduleRuleEngineCronJobModeltriggerModuleInitialization(java.lang.String moduleName)Trigger the specified module initialization taskRuleEngineCronJobModeltriggerSynchronizeModules(java.lang.String srcModuleName, java.lang.String targetModuleName)Trigger the modules synchronization taskRuleEngineCronJobModeltriggerUndeployRules(java.util.List<SourceRuleModel> rules, java.lang.String moduleName)Trigger the specified rules undeployment process
-
-
-
Method Detail
-
triggerCompileAndPublish
RuleEngineCronJobModel triggerCompileAndPublish(java.util.List<SourceRuleModel> rules, java.lang.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
RuleEngineCronJobModel triggerUndeployRules(java.util.List<SourceRuleModel> rules, java.lang.String moduleName)
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
RuleEngineCronJobModel triggerSynchronizeModules(java.lang.String srcModuleName, java.lang.String targetModuleName)
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
RuleEngineCronJobModel triggerModuleInitialization(java.lang.String moduleName)
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
-
-