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 Summary
Modifier and TypeMethodDescription<T extends AbstractRulesModule>
voidinitializeModule(T module) Performs initialization of the provided (jalo) rules module.voidregisterSourceRuleForDeployment(SourceRule sourceRule, String... moduleNames) registers a (jalo) SourceRule to be compiled and deployed for the given moduleNames after the next initialization.voidregisterSourceRulesForDeployment(Collection<SourceRuleModel> sourceRules, Collection<String> moduleNames) registers a collection of SourceRules to be compiled and deployed for the given moduleNames after the next initialization.
-
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 deploymentmoduleNames- the target modules by name
-
registerSourceRuleForDeployment
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 deploymentmoduleNames- the target module(s) by name
-
initializeModule
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
-