Interface RuleEngineSystemSetup

All Known Implementing Classes:
DefaultRuleEngineSystemSetup

public interface RuleEngineSystemSetup
RuleEngineSystemSetup defines methods for registering SourceRules for compilation and publication (i.e. deployment) for the next system initialization (system initialization or system update).
  • Method Details

    • registerSourceRulesForDeployment

      void registerSourceRulesForDeployment(Collection<SourceRuleModel> sourceRules, Collection<String> moduleNames)
      registers a collection of SourceRules to be compiled and deployed for the given moduleNames after the next initialization. This call will register all given source rules for all given module names.
      Parameters:
      sourceRules - the source rules to be registered for deployment
      moduleNames - the target modules by name
    • registerSourceRuleForDeployment

      void registerSourceRuleForDeployment(SourceRule sourceRule, String... moduleNames)
      registers a (jalo) SourceRule to be compiled and deployed for the given moduleNames after the next initialization. This method is intended to be used from within impex scripts.
      Parameters:
      sourceRule - the source rule to be registered for deployment
      moduleNames - the target module(s) by name
    • initializeModule

      <T extends AbstractRulesModule> void initializeModule(T module)
      Performs initialization of the provided (jalo) rules module. This method is intended to be used from within impex scripts.
      Parameters:
      module - Jalo representation of rules module to be initialized