Class ScriptLogicExecutor

    • Constructor Detail

      • 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 Detail

      • execute

        public java.lang.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