クラス DelegateStep

java.lang.ObjectSE
org.springframework.batch.core.step.AbstractStep
org.springframework.batch.integration.step.DelegateStep
実装されたすべてのインターフェース:
Steporg.springframework.beans.factory.Awareorg.springframework.beans.factory.BeanNameAwareorg.springframework.beans.factory.InitializingBean

@DeprecatedSE(since="5.0", forRemoval=true) public class DelegateStep extends AbstractStep
非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
5.0 以来、代替はありません。5.2 で削除予定。
既存の Step のラッパーを提供し、実行を委譲しますが、他のすべての操作はローカルで処理します。
作成者:
Dave Syer, Mahmoud Ben Hassine
  • コンストラクターの詳細

    • DelegateStep

      public DelegateStep()
      非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
  • メソッドの詳細

    • setDelegate

      public void setDelegate(Step delegate)
      非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
      パラメーター:
      delegate - 設定するデリゲート
    • afterPropertiesSet

      public void afterPropertiesSet() throws ExceptionSE
      非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
      必須プロパティを確認します(委譲)。
      次で指定:
      インターフェース org.springframework.beans.factory.InitializingBeanafterPropertiesSet 
      オーバーライド:
      クラス AbstractStepafterPropertiesSet 
      例外:
      ExceptionSE
    • doExecute

      protected void doExecute(StepExecution stepExecution) throws ExceptionSE
      非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。
      クラスからコピーされた説明: AbstractStep
      ビジネスロジックを実行するサブクラスの拡張ポイント。サブクラスは、戻る前に StepExecutionExitStatus を設定する必要があります。
      次で指定:
      クラス AbstractStepdoExecute 
      パラメーター:
      stepExecution - 現在のステップのコンテキスト
      例外:
      ExceptionSE - 実装によってスローされたチェック済み例外