Class ScriptLogicExecutor
java.lang.Object
de.hybris.platform.integrationservices.virtualattributes.impl.ScriptLogicExecutor
- All Implemented Interfaces:
LogicExecutor
Implementation of the
LogicExecutor for executing LogicLocationScheme.MODEL scripts.-
Constructor Summary
ConstructorsConstructorDescriptionScriptLogicExecutor(@NotNull LogicExecutorContext ctx, @NotNull ScriptingLanguagesService service) Instantiates this executor -
Method Summary
Modifier and TypeMethodDescriptionexecute(LogicParams params) Executes the logic with the given parameters
-
Constructor Details
-
ScriptLogicExecutor
public ScriptLogicExecutor(@NotNull @NotNull LogicExecutorContext ctx, @NotNull @NotNull ScriptingLanguagesService service) Instantiates this executor- Parameters:
ctx- context for the script executionservice- service to execute a script
-
-
Method Details
-
execute
Description copied from interface:LogicExecutorExecutes the logic with the given parameters- Specified by:
executein interfaceLogicExecutor- Parameters:
params- Parameters to be used by the logic.- Returns:
- the result of the execution of the logic
-