クラス ExecutionContextUserSupport

java.lang.ObjectSE
org.springframework.batch.item.util.ExecutionContextUserSupport

public class ExecutionContextUserSupport extends ObjectSE
ExecutionContext のデータを永続化するオブジェクトに名前を割り当て、名前に基づいて ExecutionContext のキーを生成することを容易にします。
作成者:
Robert Kasanicky, Mahmoud Ben Hassine
  • コンストラクターの詳細

    • ExecutionContextUserSupport

      public ExecutionContextUserSupport()
    • ExecutionContextUserSupport

      public ExecutionContextUserSupport(StringSE name)
  • メソッドの詳細

    • getName

      public StringSE getName()
      戻り値:
      共有コンテキストでこのインスタンスのエントリを一意に識別するために使用される名前。
    • setName

      public void setName(StringSE name)
      パラメーター:
      name - 実行コンテキストキーの作成に使用される一意の名前。
    • getKey

      public StringSE getKey(StringSE suffix)
      引数の前に getName() を付けて、ExecutionContext に格納されたデータを識別するために安全に使用できる一意のキーを作成します。
      パラメーター:
      suffix - キーの生成に使用される StringSE
      戻り値:
      名前とサフィックスに基づいて生成されたキー。