クラス PolyglotScriptExecutor

java.lang.ObjectSE
org.springframework.integration.scripting.PolyglotScriptExecutor
実装されているすべてのインターフェース:
ScriptExecutor

public class PolyglotScriptExecutor extends ObjectSE implements ScriptExecutor
GraalVM Polyglot ScriptExecutor 実装。
導入:
6.0
作成者:
Artem Bilan
  • コンストラクターの詳細

    • PolyglotScriptExecutor

      public PolyglotScriptExecutor(StringSE language)
      提供された言語 ID に基づいてエグゼキュータを構築します。
      パラメーター:
      language - GraalVM でサポートされている言語 ID。
    • PolyglotScriptExecutor

      public PolyglotScriptExecutor(StringSE language, org.graalvm.polyglot.Context.Builder contextBuilder)
      提供された言語 ID に基づいてエグゼキュータを構築します。
      パラメーター:
      language - GraalVM でサポートされている言語 ID。
  • メソッドの詳細

    • executeScript

      public @Nullable ObjectSE executeScript(ScriptSource scriptSource, @Nullable MapSE<StringSE,ObjectSE> variables)
      インターフェースからコピーされた説明: ScriptExecutor
      オプションのバインディング variables を使用して、提供された ScriptSource からスクリプトを実行します。
      次で指定:
      インターフェース ScriptExecutorexecuteScript 
      パラメーター:
      scriptSource - スクリプトソース。
      variables - 変数。
      戻り値:
      実行の結果。