Class ScriptLogicExecutor
- java.lang.Object
-
- de.hybris.platform.integrationservices.virtualattributes.impl.ScriptLogicExecutor
-
- All Implemented Interfaces:
LogicExecutor
public class ScriptLogicExecutor extends java.lang.Object implements LogicExecutor
Implementation of theLogicExecutorfor executingLogicLocationScheme.MODELscripts.
-
-
Constructor Summary
Constructors Constructor Description ScriptLogicExecutor(@NotNull LogicExecutorContext ctx, @NotNull ScriptingLanguagesService service)Instantiates this executor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectexecute(LogicParams params)Executes the logic with the given parameters
-
-
-
Constructor Detail
-
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 Detail
-
execute
public java.lang.Object execute(LogicParams params)
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
-
-