java.lang.Object
de.hybris.platform.integrationservices.virtualattributes.impl.ScriptLogicExecutor
All Implemented Interfaces:
LogicExecutor

public class ScriptLogicExecutor extends Object implements LogicExecutor
Implementation of the LogicExecutor for executing LogicLocationScheme.MODEL scripts.
  • Constructor Details

    • ScriptLogicExecutor

      public ScriptLogicExecutor(@NotNull @NotNull LogicExecutorContext ctx, @NotNull @NotNull ScriptingLanguagesService service)
      Instantiates this executor
      Parameters:
      ctx - context for the script execution
      service - service to execute a script
  • Method Details

    • execute

      public Object execute(LogicParams params)
      Description copied from interface: LogicExecutor
      Executes the logic with the given parameters
      Specified by:
      execute in interface LogicExecutor
      Parameters:
      params - Parameters to be used by the logic.
      Returns:
      the result of the execution of the logic