Interface RuleEngineSystemSetup
-
- All Known Implementing Classes:
DefaultRuleEngineSystemSetup
public interface RuleEngineSystemSetupRuleEngineSystemSetup defines methods for registering SourceRules for compilation and publication (i.e. deployment) for the next system initialization (system initialization or system update).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends AbstractRulesModule>
voidinitializeModule(T module)Performs initialization of the provided (jalo) rules module.voidregisterSourceRuleForDeployment(SourceRule sourceRule, java.lang.String... moduleNames)registers a (jalo) SourceRule to be compiled and deployed for the given moduleNames after the next initialization.voidregisterSourceRulesForDeployment(java.util.Collection<SourceRuleModel> sourceRules, java.util.Collection<java.lang.String> moduleNames)registers a collection of SourceRules to be compiled and deployed for the given moduleNames after the next initialization.
-
-
-
Method Detail
-
registerSourceRulesForDeployment
void registerSourceRulesForDeployment(java.util.Collection<SourceRuleModel> sourceRules, java.util.Collection<java.lang.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
void registerSourceRuleForDeployment(SourceRule sourceRule, java.lang.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 deploymentmoduleNames- 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
-
-