Uses of Class
de.hybris.platform.ruleengine.RuleEngineActionResult
Packages that use RuleEngineActionResult
Package
Description
-
Uses of RuleEngineActionResult in de.hybris.platform.droolsruleengineservices.impl
Methods in de.hybris.platform.droolsruleengineservices.impl that return RuleEngineActionResultModifier and TypeMethodDescriptionDefaultCommerceRuleEngineService.updateEngineRule(AbstractRuleEngineRuleModel ruleEngineRule, AbstractRulesModuleModel rulesModule) Methods in de.hybris.platform.droolsruleengineservices.impl that return types with arguments of type RuleEngineActionResultModifier and TypeMethodDescriptionDefaultCommerceRuleEngineService.initializeAllRulesModules()DefaultCommerceRuleEngineService.initializeAllRulesModules(boolean propagateToOtherNodes) Methods in de.hybris.platform.droolsruleengineservices.impl with parameters of type RuleEngineActionResultModifier and TypeMethodDescriptionvoidDefaultCommerceRuleEngineService.initialize(AbstractRulesModuleModel module, String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result) voidDefaultCommerceRuleEngineService.initialize(AbstractRulesModuleModel module, String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result, ExecutionContext executionContext) voidDefaultCommerceRuleEngineService.initializeNonBlocking(AbstractRulesModuleModel module, String deployedReleaseIdVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result) -
Uses of RuleEngineActionResult in de.hybris.platform.ruleengine
Methods in de.hybris.platform.ruleengine that return RuleEngineActionResultModifier and TypeMethodDescriptionRuleEngineService.updateEngineRule(AbstractRuleEngineRuleModel ruleEngineRule, AbstractRulesModuleModel rulesModule) Updates the given rule if it already exists.Methods in de.hybris.platform.ruleengine that return types with arguments of type RuleEngineActionResultModifier and TypeMethodDescriptionRuleEngineService.initializeAllRulesModules()Initializes allAbstractRulesModuleModels that are marked as active (in case of cluster mode - on all the nodes).RuleEngineService.initializeAllRulesModules(boolean propagateToOtherNodes) Initializes allAbstractRulesModuleModels that are marked as active.Methods in de.hybris.platform.ruleengine with parameters of type RuleEngineActionResultModifier and TypeMethodDescriptionvoidRuleEngineService.initialize(AbstractRulesModuleModel module, String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result) Since 6.4 Initializes the given rules module (and ifpropagateToOtherNodesis set totruepropagates aRuleEngineInitializedEventto other nodes).voidRuleEngineService.initialize(AbstractRulesModuleModel module, 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).<M extends AbstractRulesModuleModel>
voidRuleEngineService.initializeNonBlocking(M module, String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result) Since 6.4 Asynchronously initializes the given rules module (and ifpropagateToOtherNodesis set totruepropagates aRuleEngineInitializedEventto other nodes). -
Uses of RuleEngineActionResult in de.hybris.platform.ruleengine.impl
Methods in de.hybris.platform.ruleengine.impl that return RuleEngineActionResultModifier and TypeMethodDescriptionprotected RuleEngineActionResultDefaultPlatformRuleEngineService.createRuleEngineActionResult(String message, String moduleName, boolean success, MessageLevel level) creates a RuleEngineActionResult object with the given parameters.DefaultPlatformRuleEngineService.updateEngineRule(AbstractRuleEngineRuleModel ruleEngineRule, AbstractRulesModuleModel rulesModule) Methods in de.hybris.platform.ruleengine.impl that return types with arguments of type RuleEngineActionResultModifier and TypeMethodDescriptionDefaultPlatformRuleEngineService.initializeAllRulesModules()DefaultPlatformRuleEngineService.initializeAllRulesModules(boolean propagateToOtherNodes) protected Optional<RuleEngineActionResult>DefaultPlatformRuleEngineService.validateEngineRulesModule(AbstractRulesModuleModel rulesModule) Methods in de.hybris.platform.ruleengine.impl with parameters of type RuleEngineActionResultModifier and TypeMethodDescriptionprotected voidDefaultPlatformRuleEngineService.doSwapKieContainers(org.kie.api.runtime.KieContainer kieContainer, KIEModuleCacheBuilder cache, RuleEngineActionResult ruleEngineActionResult, DroolsKIEModuleModel module, String deployedReleaseIdVersion, boolean propagateToOtherNodes) voidDefaultPlatformRuleEngineService.initialize(AbstractRulesModuleModel abstractModule, String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result) voidDefaultPlatformRuleEngineService.initialize(AbstractRulesModuleModel abstractModule, String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result, ExecutionContext executionContext) voidDefaultPlatformRuleEngineService.initializeNonBlocking(AbstractRulesModuleModel abstractModule, String deployedMvnVersion, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result) protected voidDefaultPlatformRuleEngineService.notifyOtherNodes(RuleEngineActionResult result) voidKieContainerListener.onFailure(RuleEngineActionResult result) The method to be called when the switching to a new KieContainer failsprotected voidDefaultPlatformRuleEngineService.populateRuleEngineActionResult(RuleEngineActionResult result, String message, String moduleName, boolean success, MessageLevel level) populates a RuleEngineActionResult object with the given parameters.protected voidDefaultPlatformRuleEngineService.switchKieModule(DroolsKIEModuleModel module, KieContainerListener listener, boolean propagateToOtherNodes, boolean enableIncrementalUpdate, RuleEngineActionResult result, Collection<Supplier<Object>> chainOfPostTasks) Switches the Kie modules in the rule execution context -
Uses of RuleEngineActionResult in de.hybris.platform.ruleengine.init
Methods in de.hybris.platform.ruleengine.init that return RuleEngineActionResultModifier and TypeMethodDescriptionstarts up the rules engine for a given rules module from scratch (removing currently running and blocking for any rule evaluation).Methods in de.hybris.platform.ruleengine.init that return types with arguments of type RuleEngineActionResultModifier and TypeMethodDescriptionInitializationFuture.getResults()RuleDeploymentTaskResult.getRulePublishingResults()Methods in de.hybris.platform.ruleengine.init with parameters of type RuleEngineActionResultModifier and TypeMethodDescriptionvoidRuleEngineBootstrap.activateNewRuleEngineContainer(CONTAINER rulesContainer, KIEModuleCacheBuilder cacheBuilder, RuleEngineActionResult ruleEngineActionResult, MODULE rulesModule, String deployedReleaseIdVersion) Runs through the new container activation check list and undertakes necessary actionsorg.apache.commons.lang3.tuple.Pair<org.kie.api.builder.KieModule,KIEModuleCacheBuilder> RuleEngineKieModuleSwapper.createKieModule(DroolsKIEModuleModel module, RuleEngineActionResult result) Creates the new instance ofKieModule, based on information contained inDroolsKIEModuleModelorg.kie.api.runtime.KieContainerRuleEngineKieModuleSwapper.initializeNewKieContainer(DroolsKIEModuleModel module, org.kie.api.builder.KieModule kieModule, RuleEngineActionResult result) Creates the new instance ofKieContainerfor a givenKieModulebooleanRuleEngineKieModuleSwapper.removeKieModuleIfPresent(org.kie.api.builder.ReleaseId releaseId, RuleEngineActionResult result) Tries to remove theKieModulewith givenReleaseIdfromKieRepositorybooleanRuleEngineKieModuleSwapper.removeOldKieModuleIfPresent(RuleEngineActionResult result) Tries to remove the oldKieModulefromKieRepositoryRuleEngineKieModuleSwapper.switchKieModule(DroolsKIEModuleModel module, KieContainerListener listener, LinkedList<Supplier<Object>> postTaskList, boolean enableIncrementalUpdate, RuleEngineActionResult result) Swaps synchroneously to a new KieModule.voidRuleEngineKieModuleSwapper.switchKieModuleAsync(String moduleName, KieContainerListener listener, List<Object> resultsAccumulator, Supplier<Object> resetFlagSupplier, List<Supplier<Object>> postTaskList, boolean enableIncrementalUpdate, RuleEngineActionResult result) Swaps asynchroneously to a new KieModule.Constructor parameters in de.hybris.platform.ruleengine.init with type arguments of type RuleEngineActionResultModifierConstructorDescriptionRuleDeploymentTaskResult(List<RuleEngineActionResult> rulePublishingResults) RulePublishingFuture(Set<Thread> workers, List<RuleEngineActionResult> rulePublishingResults, List<org.kie.api.builder.KieBuilder> partialKieBuilders, long workerPreDestroyTimeout) -
Uses of RuleEngineActionResult in de.hybris.platform.ruleengine.init.impl
Methods in de.hybris.platform.ruleengine.init.impl that return RuleEngineActionResultModifier and TypeMethodDescriptionprotected RuleEngineActionResultDefaultRulePublishingSpliterator.addRulesBuilder(List<org.kie.api.builder.KieBuilder> kieBuilders, org.kie.api.builder.model.KieModuleModel kieModuleModel, org.kie.api.builder.ReleaseId releaseId, List<String> ruleUuids, KIEModuleCacheBuilder cache) protected RuleEngineActionResultDefaultRulePublishingSpliterator.createNewResult(org.kie.api.builder.Results results) Methods in de.hybris.platform.ruleengine.init.impl with parameters of type RuleEngineActionResultModifier and TypeMethodDescriptionvoidDefaultRuleEngineBootstrap.activateNewRuleEngineContainer(org.kie.api.runtime.KieContainer kieContainer, KIEModuleCacheBuilder cache, RuleEngineActionResult ruleEngineActionResult, DroolsKIEModuleModel rulesModule, String deployedReleaseIdVersion) protected ResultItemDefaultRuleEngineKieModuleSwapper.addNewResultItemOf(RuleEngineActionResult result, MessageLevel messageLevel, String message) protected ResultItemDefaultRulePublishingSpliterator.addNewResultItemOf(RuleEngineActionResult result, MessageLevel messageLevel, String message) protected voidDefaultRuleEngineKieModuleSwapper.completeWithFailure(org.kie.api.builder.ReleaseId releaseId, RuleEngineActionResult result, KieContainerListener listener) org.apache.commons.lang3.tuple.Pair<org.kie.api.builder.KieModule,KIEModuleCacheBuilder> DefaultRuleEngineKieModuleSwapper.createKieModule(DroolsKIEModuleModel module, RuleEngineActionResult result) protected org.apache.commons.lang3.tuple.Pair<org.kie.api.builder.KieModule,KIEModuleCacheBuilder> DefaultRuleEngineKieModuleSwapper.createKieModule(DroolsKIEModuleModel module, RuleEngineActionResult result, boolean enableIncrementalUpdate) protected voidDefaultRuleEngineKieModuleSwapper.deployRulesIncrementally(org.kie.api.builder.ReleaseId releaseId, org.kie.api.builder.model.KieModuleModel kieModuleModel, org.kie.api.builder.KieModule kieModule, Collection<DroolsRuleModel> rulesToAdd, Collection<DroolsRuleModel> rulesToRemove, RuleEngineActionResult result) Deploy incrementally the rule engine updates.org.kie.api.runtime.KieContainerDefaultRuleEngineKieModuleSwapper.initializeNewKieContainer(DroolsKIEModuleModel module, org.kie.api.builder.KieModule kieModule, RuleEngineActionResult result) protected voidDefaultRuleEngineKieModuleSwapper.initializeNewModule(DroolsKIEModuleModel module, KieContainerListener listener, boolean enableIncrementalUpdates, RuleEngineActionResult result) protected voidDefaultRuleEngineKieModuleSwapper.newKieModule(DroolsKIEModuleModel module, KieContainerListener listener, boolean enableIncrementalUpdates, RuleEngineActionResult result) protected ObjectDefaultRuleEngineKieModuleSwapper.onSwapFailed(Throwable t, RuleEngineActionResult result, Supplier<Object> resetFlagSupplier) booleanDefaultRuleEngineKieModuleSwapper.removeKieModuleIfPresent(org.kie.api.builder.ReleaseId releaseId, RuleEngineActionResult result) booleanDefaultRuleEngineKieModuleSwapper.removeOldKieModuleIfPresent(RuleEngineActionResult result) protected booleanDefaultRuleEngineKieModuleSwapper.restoreKieModule(DroolsKIEModuleModel module, KieContainerListener listener, RuleEngineActionResult result) DefaultRuleEngineKieModuleSwapper.switchKieModule(DroolsKIEModuleModel module, KieContainerListener listener, LinkedList<Supplier<Object>> postTaskList, boolean enableIncrementalUpdate, RuleEngineActionResult result) voidDefaultRuleEngineKieModuleSwapper.switchKieModuleAsync(String moduleName, KieContainerListener listener, List<Object> resultsAccumulator, Supplier<Object> resetFlagSupplier, List<Supplier<Object>> postTaskList, boolean enableIncrementalUpdate, RuleEngineActionResult result) protected RunnableDefaultRuleEngineKieModuleSwapper.switchKieModuleRunnableTask(String moduleName, KieContainerListener listener, List<Object> resultsAccumulator, Supplier<Object> resetFlagSupplier, List<Supplier<Object>> postTaskList, boolean enableIncrementalUpdate, RuleEngineActionResult result) protected voidDefaultRuleEngineKieModuleSwapper.verifyErrors(RuleEngineActionResult result, List<org.kie.api.builder.Message> messages) -
Uses of RuleEngineActionResult in de.hybris.platform.ruleengine.init.tasks
Methods in de.hybris.platform.ruleengine.init.tasks with parameters of type RuleEngineActionResultModifier and TypeMethodDescriptionbooleanPostRulesModuleSwappingTask.execute(RuleEngineActionResult result) Execute the post rules module swapping taskPostRulesModuleSwappingTasksProvider.getTasks(RuleEngineActionResult result) Get list of suppliers for the post rules module swapping tasks -
Uses of RuleEngineActionResult in de.hybris.platform.ruleengine.init.tasks.impl
Methods in de.hybris.platform.ruleengine.init.tasks.impl with parameters of type RuleEngineActionResultModifier and TypeMethodDescriptionbooleanRemoveOldKieModulePostRulesModuleSwappingTask.execute(RuleEngineActionResult result) DefaultPostRulesModuleSwappingTasksProvider.getTasks(RuleEngineActionResult result) -
Uses of RuleEngineActionResult in de.hybris.platform.ruleenginebackoffice.widgets.listview.actions
Method parameters in de.hybris.platform.ruleenginebackoffice.widgets.listview.actions with type arguments of type RuleEngineActionResultModifier and TypeMethodDescriptionprotected com.hybris.cockpitng.actions.ActionResult<String>AbstractPushRulesToEngineAction.getActionResult(com.hybris.cockpitng.actions.ActionContext<?> context, List<RuleEngineActionResult> ruleEngineActionResults) -
Uses of RuleEngineActionResult in de.hybris.platform.ruleengineservices.maintenance
Methods in de.hybris.platform.ruleengineservices.maintenance that return types with arguments of type RuleEngineActionResultModifier and TypeMethodDescriptionRuleCompilerPublisherResult.getPublisherResults()Returns results from the publication. -
Uses of RuleEngineActionResult in de.hybris.platform.ruleengineservices.maintenance.impl
Methods in de.hybris.platform.ruleengineservices.maintenance.impl that return types with arguments of type RuleEngineActionResult -
Uses of RuleEngineActionResult in de.hybris.platform.ruleengineservices.maintenance.tasks.impl
Methods in de.hybris.platform.ruleengineservices.maintenance.tasks.impl with parameters of type RuleEngineActionResultModifier and TypeMethodDescriptionbooleanProvideModifiedRuleCodesPostTask.execute(RuleEngineActionResult result) booleanUpdateRulesDeploymentsPostTask.execute(RuleEngineActionResult result) booleanUpdateRulesStatusPostRulesModuleSwappingTask.execute(RuleEngineActionResult result) protected Collection<String>ProvideModifiedRuleCodesPostTask.getModifiedRuleCodes(RuleEngineActionResult result)