Class DefaultPlatformRuleEngineService
- java.lang.Object
-
- de.hybris.platform.ruleengine.impl.DefaultPlatformRuleEngineService
-
- All Implemented Interfaces:
RuleEngineService
public class DefaultPlatformRuleEngineService extends java.lang.Object implements RuleEngineService
The DefaultDroolsRuleEngineService allows initialization and evaluation of rules modules.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMODULE_MVN_VERSION_NONEstatic java.lang.StringSWAPPING_IS_BLOCKING
-
Constructor Summary
Constructors Constructor Description DefaultPlatformRuleEngineService()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RuleEngineActionResultarchiveRule(AbstractRuleEngineRuleModel ruleEngineRule)Deprecated, for removal: This API element is subject to removal in a future version.since 1811RuleEngineActionResultarchiveRule(AbstractRuleEngineRuleModel ruleEngineRule, AbstractRulesModuleModel rulesModule)Deprecated, for removal: This API element is subject to removal in a future version.since 1811<T extends DroolsRuleModel>
java.util.Optional<InitializationFuture>archiveRules(java.util.Collection<T> engineRules)Archive a collection of rulesprotected RuleEngineActionResultcreateRuleEngineActionResult(java.lang.String message, java.lang.String moduleName, boolean success, MessageLevel level)creates a RuleEngineActionResult object with the given parameters.<T extends AbstractRuleEngineRuleModel>
voiddeactivateRulesModuleEngineRules(java.lang.String moduleName, java.util.Collection<T> engineRules)make the specified collection of engine rules belonging to a specified module inactive, so that the engine wouln't take them in consideration during initprotected voiddoSwapKieContainers(org.kie.api.runtime.KieContainer kieContainer, KIEModuleCacheBuilder cache, RuleEngineActionResult ruleEngineActionResult, DroolsKIEModuleModel module, java.lang.String deployedReleaseIdVersion, boolean propagateToOtherNodes)RuleEvaluationResultevaluate(RuleEvaluationContext context)Since 6.0 Executes rule evaluation for given RuleEvaluationContext.protected java.util.function.Supplier<org.kie.api.runtime.ExecutionResults>executionResultsSupplierWithStatefulSession(org.kie.api.runtime.KieContainer kContainer, org.kie.api.command.BatchExecutionCommand command, RuleEvaluationContext context)protected java.util.function.Supplier<org.kie.api.runtime.ExecutionResults>executionResultsSupplierWithStatelessSession(org.kie.api.runtime.KieContainer kContainer, org.kie.api.command.BatchExecutionCommand command, RuleEvaluationContext context)protected ConcurrentMapFactorygetConcurrentMapFactory()protected ConfigurationServicegetConfigurationService()protected DroolsKIEBaseFinderStrategygetDroolsKIEBaseFinderStrategy()protected EngineRuleDaogetEngineRuleDao()protected RuleEngineTaskProcessor<AbstractRuleEngineRuleModel,TaskResult>getEngineRulesPersistingTaskProcessor()protected EngineRulesRepositorygetEngineRulesRepository()protected EventServicegetEventService()protected MultiFlaggetInitializationMultiFlag()protected KieSessionHelpergetKieSessionHelper()protected ModelServicegetModelService()protected PostRulesModuleSwappingTasksProvidergetPostRulesModuleSwappingTasksProvider()protected RuleEngineBootstrap<org.kie.api.KieServices,org.kie.api.runtime.KieContainer,DroolsKIEModuleModel>getRuleEngineBootstrap()protected RuleEngineCacheServicegetRuleEngineCacheService()protected RuleEngineContainerRegistry<org.kie.api.builder.ReleaseId,org.kie.api.runtime.KieContainer>getRuleEngineContainerRegistry()protected RuleEngineKieModuleSwappergetRuleEngineKieModuleSwapper()AbstractRuleEngineRuleModelgetRuleForCodeAndModule(java.lang.String code, java.lang.String moduleName)Finds AbstractRuleEngineRuleModel for given code and module.AbstractRuleEngineRuleModelgetRuleForUuid(java.lang.String uuid)Finds AbstractRuleEngineRuleModel for given uuid.protected RulesModuleDaogetRulesModuleDao()voidinitialize(AbstractRulesModuleModel abstractModule, java.lang.String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result)Since 6.4 Initializes the given rules module (and ifpropagateToOtherNodesis set totruepropagates aRuleEngineInitializedEventto other nodes).voidinitialize(AbstractRulesModuleModel abstractModule, java.lang.String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result, ExecutionContext executionContext)Since 18.08 Initializes the given rules module (and ifpropagateToOtherNodesis set totruepropagates aRuleEngineInitializedEventto other nodes).InitializationFutureinitialize(java.util.List<AbstractRulesModuleModel> modules, boolean propagateToOtherNodes, boolean enableIncrementalUpdate)Since 6.4 Initializes the given rules module in blocking/async mode (depending on blocking param) (and ifpropagateToOtherNodesis set totruepropagates aRuleEngineInitializedEventto other nodes).InitializationFutureinitialize(java.util.List<AbstractRulesModuleModel> modules, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, ExecutionContext executionContext)Since 6.7 Initializes the given rules module in blocking/async mode (depending on blocking param) (and ifpropagateToOtherNodesis set totruepropagates aRuleEngineInitializedEventto other nodes).java.util.List<RuleEngineActionResult>initializeAllRulesModules()Initializes allAbstractRulesModuleModels that are marked as active (in case of cluster mode - on all the nodes).java.util.List<RuleEngineActionResult>initializeAllRulesModules(boolean propagateToOtherNodes)Initializes allAbstractRulesModuleModels that are marked as active.voidinitializeNonBlocking(AbstractRulesModuleModel abstractModule, java.lang.String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result)Since 6.4 Asynchronously initializes the given rules module (and ifpropagateToOtherNodesis set totruepropagates aRuleEngineInitializedEventto other nodes).protected booleanisBlocking()protected booleanisRuleEngineActive()protected voidnotifyOtherNodes(RuleEngineActionResult result)protected voidnotifyOtherNodesAboutKieModuleSwapping(java.lang.String moduleName, java.lang.String deployedReleaseIdVersion)protected voidpopulateRuleEngineActionResult(RuleEngineActionResult result, java.lang.String message, java.lang.String moduleName, boolean success, MessageLevel level)populates a RuleEngineActionResult object with the given parameters.voidsetConcurrentMapFactory(ConcurrentMapFactory concurrentMapFactory)voidsetConfigurationService(ConfigurationService configurationService)voidsetDroolsKIEBaseFinderStrategy(DroolsKIEBaseFinderStrategy droolsKIEBaseFinderStrategy)voidsetEngineRuleDao(EngineRuleDao engineRuleDao)voidsetEngineRulesPersistingTaskProcessor(RuleEngineTaskProcessor<AbstractRuleEngineRuleModel,TaskResult> engineRulesPersistingTaskProcessor)voidsetEngineRulesRepository(EngineRulesRepository engineRulesRepository)voidsetEventService(EventService eventService)voidsetKieSessionHelper(KieSessionHelper kieSessionHelper)voidsetModelService(ModelService modelService)voidsetPostRulesModuleSwappingTasksProvider(PostRulesModuleSwappingTasksProvider postRulesModuleSwappingTasksProvider)voidsetRuleEngineBootstrap(RuleEngineBootstrap<org.kie.api.KieServices,org.kie.api.runtime.KieContainer,DroolsKIEModuleModel> ruleEngineBootstrap)voidsetRuleEngineCacheService(RuleEngineCacheService ruleEngineCacheService)voidsetRuleEngineContainerRegistry(RuleEngineContainerRegistry<org.kie.api.builder.ReleaseId,org.kie.api.runtime.KieContainer> ruleEngineContainerRegistry)voidsetRuleEngineKieModuleSwapper(RuleEngineKieModuleSwapper ruleEngineKieModuleSwapper)voidsetRulesModuleDao(RulesModuleDao rulesModuleDao)voidsetup()The method is used to set the date format and KIEServices before the class is put into service(dependency injection).protected voidswitchKieModule(DroolsKIEModuleModel module, KieContainerListener listener, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result, java.util.Collection<java.util.function.Supplier<java.lang.Object>> chainOfPostTasks)Switches the Kie modules in the rule execution contextRuleEngineActionResultupdateEngineRule(AbstractRuleEngineRuleModel ruleEngineRule, AbstractRulesModuleModel rulesModule)Updates the given rule if it already exists.protected java.util.Optional<RuleEngineActionResult>validateEngineRulesModule(AbstractRulesModuleModel rulesModule)
-
-
-
Field Detail
-
MODULE_MVN_VERSION_NONE
public static final java.lang.String MODULE_MVN_VERSION_NONE
- See Also:
- Constant Field Values
-
SWAPPING_IS_BLOCKING
public static final java.lang.String SWAPPING_IS_BLOCKING
- See Also:
- Constant Field Values
-
-
Method Detail
-
evaluate
public RuleEvaluationResult evaluate(RuleEvaluationContext context)
Description copied from interface:RuleEngineServiceSince 6.0 Executes rule evaluation for given RuleEvaluationContext. Executes all rules contained within the context- Specified by:
evaluatein interfaceRuleEngineService- Parameters:
context- the rule engine context containing data about rule engine execution- Returns:
- results of rule engine execution
-
executionResultsSupplierWithStatefulSession
protected java.util.function.Supplier<org.kie.api.runtime.ExecutionResults> executionResultsSupplierWithStatefulSession(org.kie.api.runtime.KieContainer kContainer, org.kie.api.command.BatchExecutionCommand command, RuleEvaluationContext context)
-
executionResultsSupplierWithStatelessSession
protected java.util.function.Supplier<org.kie.api.runtime.ExecutionResults> executionResultsSupplierWithStatelessSession(org.kie.api.runtime.KieContainer kContainer, org.kie.api.command.BatchExecutionCommand command, RuleEvaluationContext context)
-
initialize
public InitializationFuture initialize(java.util.List<AbstractRulesModuleModel> modules, boolean propagateToOtherNodes, boolean enableIncrementalUpdate)
Description copied from interface:RuleEngineServiceSince 6.4 Initializes the given rules module in blocking/async mode (depending on blocking param) (and ifpropagateToOtherNodesis set totruepropagates aRuleEngineInitializedEventto other nodes).- Specified by:
initializein interfaceRuleEngineService- Parameters:
modules- the modules to be initializedpropagateToOtherNodes- if true propagates aRuleEngineInitializedEventto other nodes.enableIncrementalUpdate- flag, if true, enables for incremental updates of the rule engine kie module- Returns:
- instance of
InitializationFutureto be used for eventual blocking on multiple parallel swapping
-
initialize
public InitializationFuture initialize(java.util.List<AbstractRulesModuleModel> modules, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, ExecutionContext executionContext)
Description copied from interface:RuleEngineServiceSince 6.7 Initializes the given rules module in blocking/async mode (depending on blocking param) (and ifpropagateToOtherNodesis set totruepropagates aRuleEngineInitializedEventto other nodes).- Specified by:
initializein interfaceRuleEngineService- Parameters:
modules- the modules to be initializedpropagateToOtherNodes- if true propagates aRuleEngineInitializedEventto other nodes.enableIncrementalUpdate- flag, if true, enables for incremental updates of the rule engine kie moduleexecutionContext- instance ofExecutionContextthat serves as a storage for initialization related data- Returns:
- instance of
InitializationFutureto be used for eventual blocking on multiple parallel swapping
-
initializeNonBlocking
public void initializeNonBlocking(AbstractRulesModuleModel abstractModule, java.lang.String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result)
Description copied from interface:RuleEngineServiceSince 6.4 Asynchronously initializes the given rules module (and ifpropagateToOtherNodesis set totruepropagates aRuleEngineInitializedEventto other nodes).- Specified by:
initializeNonBlockingin interfaceRuleEngineService- Parameters:
abstractModule- the module to be initializeddeployedMvnVersion- currently deployed version of the Kie ModulepropagateToOtherNodes- if true propagates aRuleEngineInitializedEventto other nodes.enableIncrementalUpdate- flag, if true, enables for incremental updates of the rule engine kie moduleresult- the instance ofRuleEngineActionResultaccumulating the results of initialization
-
initialize
public void initialize(AbstractRulesModuleModel abstractModule, java.lang.String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result)
Description copied from interface:RuleEngineServiceSince 6.4 Initializes the given rules module (and ifpropagateToOtherNodesis set totruepropagates aRuleEngineInitializedEventto other nodes).- Specified by:
initializein interfaceRuleEngineService- Parameters:
abstractModule- the module to be initializeddeployedMvnVersion- currently deployed mvn version of the rule engine modulepropagateToOtherNodes- if true propagates aRuleEngineInitializedEventto other nodes.enableIncrementalUpdate- flag, if true, enables for incremental updates of the rule engine kie moduleresult- the instance ofRuleEngineActionResultaccumulating the results of initialization
-
initialize
public void initialize(AbstractRulesModuleModel abstractModule, java.lang.String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result, ExecutionContext executionContext)
Description copied from interface:RuleEngineServiceSince 18.08 Initializes the given rules module (and ifpropagateToOtherNodesis set totruepropagates aRuleEngineInitializedEventto other nodes).- Specified by:
initializein interfaceRuleEngineService- Parameters:
abstractModule- the module to be initializeddeployedMvnVersion- currently deployed mvn version of the rule engine modulepropagateToOtherNodes- if true propagates aRuleEngineInitializedEventto other nodes.enableIncrementalUpdate- flag, if true, enables for incremental updates of the rule engine kie moduleresult- the instance ofRuleEngineActionResultaccumulating the results of initializationexecutionContext- the instance ofExecutionContextto be set as executionContext ofRuleEngineActionResultif not null
-
deactivateRulesModuleEngineRules
public <T extends AbstractRuleEngineRuleModel> void deactivateRulesModuleEngineRules(java.lang.String moduleName, java.util.Collection<T> engineRules)
Description copied from interface:RuleEngineServicemake the specified collection of engine rules belonging to a specified module inactive, so that the engine wouln't take them in consideration during init- Specified by:
deactivateRulesModuleEngineRulesin interfaceRuleEngineService- Type Parameters:
T- a type of engine rules- Parameters:
moduleName- Name of the module the rules should refer to when applying changesengineRules- A collection ofAbstractRuleEngineRuleModelto be deactivated
-
doSwapKieContainers
protected void doSwapKieContainers(org.kie.api.runtime.KieContainer kieContainer, KIEModuleCacheBuilder cache, RuleEngineActionResult ruleEngineActionResult, DroolsKIEModuleModel module, java.lang.String deployedReleaseIdVersion, boolean propagateToOtherNodes)
-
isBlocking
protected boolean isBlocking()
-
switchKieModule
protected void switchKieModule(DroolsKIEModuleModel module, KieContainerListener listener, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result, java.util.Collection<java.util.function.Supplier<java.lang.Object>> chainOfPostTasks)
Switches the Kie modules in the rule execution context- Parameters:
module- instance of theDroolsKIEModuleModelmodulelistener- instance ofKieContainerListenerthat implements the switching logicpropagateToOtherNodes- flag, if true, enables the module swap/initialization event be propagated in the clusterenableIncrementalUpdate- flag, if true, enables for incremental updates of the rule engine kie moduleresult- instance ofRuleEngineActionResultto be used for cluster nodes notificationchainOfPostTasks- chain of suppliers to be used as a sequence of post-swapping tasks
-
notifyOtherNodes
protected void notifyOtherNodes(RuleEngineActionResult result)
-
notifyOtherNodesAboutKieModuleSwapping
protected void notifyOtherNodesAboutKieModuleSwapping(java.lang.String moduleName, java.lang.String deployedReleaseIdVersion)
-
isRuleEngineActive
protected boolean isRuleEngineActive()
-
initializeAllRulesModules
public java.util.List<RuleEngineActionResult> initializeAllRulesModules(boolean propagateToOtherNodes)
Description copied from interface:RuleEngineServiceInitializes allAbstractRulesModuleModels that are marked as active.- Specified by:
initializeAllRulesModulesin interfaceRuleEngineService- Parameters:
propagateToOtherNodes- if true on all the nodes of cluster- Returns:
- the activation results
-
initializeAllRulesModules
public java.util.List<RuleEngineActionResult> initializeAllRulesModules()
Description copied from interface:RuleEngineServiceInitializes allAbstractRulesModuleModels that are marked as active (in case of cluster mode - on all the nodes).- Specified by:
initializeAllRulesModulesin interfaceRuleEngineService- Returns:
- the results of the initialize action (use
RuleEngineActionResult.isActionFailed()to check if the action succeeded)
-
updateEngineRule
public RuleEngineActionResult updateEngineRule(@Nonnull AbstractRuleEngineRuleModel ruleEngineRule, @Nonnull AbstractRulesModuleModel rulesModule)
Description copied from interface:RuleEngineServiceUpdates the given rule if it already exists.- Specified by:
updateEngineRulein interfaceRuleEngineService- Parameters:
ruleEngineRule- Rule to be updatedrulesModule-AbstractRulesModuleModelwhere the Rule be updated- Returns:
- the result of the update action (use
RuleEngineActionResult.isActionFailed()to check if the action succeeded)
-
validateEngineRulesModule
protected java.util.Optional<RuleEngineActionResult> validateEngineRulesModule(AbstractRulesModuleModel rulesModule)
-
archiveRule
@Deprecated(since="1811", forRemoval=true) public RuleEngineActionResult archiveRule(@Nonnull AbstractRuleEngineRuleModel ruleEngineRule)Deprecated, for removal: This API element is subject to removal in a future version.since 1811Description copied from interface:RuleEngineServiceArchives the given rule if it already exists.- Specified by:
archiveRulein interfaceRuleEngineService- Parameters:
ruleEngineRule- Rule to be archived- Returns:
- the result of the archive action (use
RuleEngineActionResult.isActionFailed()to check if the action succeeded)
-
archiveRule
@Deprecated(since="1811", forRemoval=true) public RuleEngineActionResult archiveRule(@Nonnull AbstractRuleEngineRuleModel ruleEngineRule, @Nonnull AbstractRulesModuleModel rulesModule)Deprecated, for removal: This API element is subject to removal in a future version.since 1811Description copied from interface:RuleEngineServiceArchives the given rule if it already exists.- Specified by:
archiveRulein interfaceRuleEngineService- Parameters:
ruleEngineRule- Rule to be archivedrulesModule-AbstractRulesModuleModelwhere the Rule is archived- Returns:
- the result of the archive action (use
RuleEngineActionResult.isActionFailed()to check if the action succeeded)
-
archiveRules
public <T extends DroolsRuleModel> java.util.Optional<InitializationFuture> archiveRules(@Nonnull java.util.Collection<T> engineRules)
Description copied from interface:RuleEngineServiceArchive a collection of rules- Specified by:
archiveRulesin interfaceRuleEngineService- Type Parameters:
T- subtype ofDroolsRuleModel- Parameters:
engineRules- collection ofDroolsRuleModelinstances- Returns:
- optional of
InitializationFuturekeeping the status of initialization
-
getRuleForCodeAndModule
public AbstractRuleEngineRuleModel getRuleForCodeAndModule(java.lang.String code, java.lang.String moduleName)
Description copied from interface:RuleEngineServiceFinds AbstractRuleEngineRuleModel for given code and module.- Specified by:
getRuleForCodeAndModulein interfaceRuleEngineService- Parameters:
code- the rule codemoduleName- the rules module name- Returns:
- AbstractRuleEngineRuleModel for given code.
-
getRuleForUuid
public AbstractRuleEngineRuleModel getRuleForUuid(java.lang.String uuid)
Description copied from interface:RuleEngineServiceFinds AbstractRuleEngineRuleModel for given uuid.- Specified by:
getRuleForUuidin interfaceRuleEngineService- Parameters:
uuid- the rule uuid- Returns:
- AbstractRuleEngineRuleModel for given uuid.
-
getEventService
protected EventService getEventService()
-
setEventService
public void setEventService(EventService eventService)
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
createRuleEngineActionResult
protected RuleEngineActionResult createRuleEngineActionResult(java.lang.String message, java.lang.String moduleName, boolean success, MessageLevel level)
creates a RuleEngineActionResult object with the given parameters. The result contains one ResultItem object with the givenmessageandlevel.- Parameters:
message- the messagemoduleName- the module's namesuccess- whether the operation of this result was successful or not (setsRuleEngineActionResult.setActionFailed(boolean)with the negated value ofsuccesslevel- the message level of the ResultItem- Returns:
- a new RuleEngineActionResult object
-
populateRuleEngineActionResult
protected void populateRuleEngineActionResult(RuleEngineActionResult result, java.lang.String message, java.lang.String moduleName, boolean success, MessageLevel level)
populates a RuleEngineActionResult object with the given parameters. Changes the state ofRuleEngineActionResultand should be used with care- Parameters:
result- theRuleEngineActionResultinstance to be populated with given fieldsmessage- the messagemoduleName- the module's namesuccess- whether the operation of this result was successful or not (setsRuleEngineActionResult.setActionFailed(boolean)with the negated value ofsuccesslevel- the message level of the ResultItem
-
setup
@PostConstruct public void setup()
The method is used to set the date format and KIEServices before the class is put into service(dependency injection).
-
getEngineRuleDao
protected EngineRuleDao getEngineRuleDao()
-
setEngineRuleDao
public void setEngineRuleDao(EngineRuleDao engineRuleDao)
-
getRulesModuleDao
protected RulesModuleDao getRulesModuleDao()
-
setRulesModuleDao
public void setRulesModuleDao(RulesModuleDao rulesModuleDao)
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getRuleEngineKieModuleSwapper
protected RuleEngineKieModuleSwapper getRuleEngineKieModuleSwapper()
-
setRuleEngineKieModuleSwapper
public void setRuleEngineKieModuleSwapper(RuleEngineKieModuleSwapper ruleEngineKieModuleSwapper)
-
getDroolsKIEBaseFinderStrategy
protected DroolsKIEBaseFinderStrategy getDroolsKIEBaseFinderStrategy()
-
setDroolsKIEBaseFinderStrategy
public void setDroolsKIEBaseFinderStrategy(DroolsKIEBaseFinderStrategy droolsKIEBaseFinderStrategy)
-
getRuleEngineCacheService
protected RuleEngineCacheService getRuleEngineCacheService()
-
setRuleEngineCacheService
public void setRuleEngineCacheService(RuleEngineCacheService ruleEngineCacheService)
-
getConcurrentMapFactory
protected ConcurrentMapFactory getConcurrentMapFactory()
-
setConcurrentMapFactory
public void setConcurrentMapFactory(ConcurrentMapFactory concurrentMapFactory)
-
getInitializationMultiFlag
protected MultiFlag getInitializationMultiFlag()
-
getKieSessionHelper
protected KieSessionHelper getKieSessionHelper()
-
setKieSessionHelper
public void setKieSessionHelper(KieSessionHelper kieSessionHelper)
-
getEngineRulesPersistingTaskProcessor
protected RuleEngineTaskProcessor<AbstractRuleEngineRuleModel,TaskResult> getEngineRulesPersistingTaskProcessor()
-
setEngineRulesPersistingTaskProcessor
public void setEngineRulesPersistingTaskProcessor(RuleEngineTaskProcessor<AbstractRuleEngineRuleModel,TaskResult> engineRulesPersistingTaskProcessor)
-
getRuleEngineBootstrap
protected RuleEngineBootstrap<org.kie.api.KieServices,org.kie.api.runtime.KieContainer,DroolsKIEModuleModel> getRuleEngineBootstrap()
-
setRuleEngineBootstrap
public void setRuleEngineBootstrap(RuleEngineBootstrap<org.kie.api.KieServices,org.kie.api.runtime.KieContainer,DroolsKIEModuleModel> ruleEngineBootstrap)
-
getRuleEngineContainerRegistry
protected RuleEngineContainerRegistry<org.kie.api.builder.ReleaseId,org.kie.api.runtime.KieContainer> getRuleEngineContainerRegistry()
-
setRuleEngineContainerRegistry
public void setRuleEngineContainerRegistry(RuleEngineContainerRegistry<org.kie.api.builder.ReleaseId,org.kie.api.runtime.KieContainer> ruleEngineContainerRegistry)
-
getEngineRulesRepository
protected EngineRulesRepository getEngineRulesRepository()
-
setEngineRulesRepository
public void setEngineRulesRepository(EngineRulesRepository engineRulesRepository)
-
getPostRulesModuleSwappingTasksProvider
protected PostRulesModuleSwappingTasksProvider getPostRulesModuleSwappingTasksProvider()
-
setPostRulesModuleSwappingTasksProvider
public void setPostRulesModuleSwappingTasksProvider(PostRulesModuleSwappingTasksProvider postRulesModuleSwappingTasksProvider)
-
-