Interface RuleEngineCronJobLauncher

All Known Implementing Classes:
DefaultRuleEngineCronJobLauncher

public interface RuleEngineCronJobLauncher
Interface for the launcher of rule-engine specific tasks
  • 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 of SourceRuleModel to compile and publish
      moduleName - a kie module name
      enableIncrementalUpdate - boolean indicating whether the incremental update of rule engine must be employed
      Returns:
      the instance of triggered RuleEngineCronJobModel
    • triggerUndeployRules

      RuleEngineCronJobModel triggerUndeployRules(List<SourceRuleModel> rules, String moduleName)
      Trigger the specified rules undeployment process
      Parameters:
      rules - a list of SourceRuleModel to undeploy
      moduleName - a kie module name to undeploy the rules for
      Returns:
      the instance of triggered RuleEngineCronJobModel
    • triggerSynchronizeModules

      RuleEngineCronJobModel triggerSynchronizeModules(String srcModuleName, String targetModuleName)
      Trigger the modules synchronization task
      Parameters:
      srcModuleName - a name of the kie module to synchronise the rules from
      targetModuleName - a name of the kie module to synchronise the rules to
      Returns:
      the instance of triggered RuleEngineCronJobModel
    • triggerModuleInitialization

      RuleEngineCronJobModel triggerModuleInitialization(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