Interface RuleEngineCronJobLauncher

  • All Known Implementing Classes:
    DefaultRuleEngineCronJobLauncher

    public interface RuleEngineCronJobLauncher
    Interface for the launcher of rule-engine specific tasks
    • 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 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
      • 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 from
        targetModuleName - 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