クラス EventEmittingStepExecutionListener
java.lang.ObjectSE
org.springframework.cloud.task.batch.listener.EventEmittingStepExecutionListener
- 実装されたすべてのインターフェース:
org.springframework.batch.core.StepExecutionListener
、org.springframework.batch.core.StepListener
、org.springframework.core.Ordered
public class EventEmittingStepExecutionListener
extends ObjectSE
implements org.springframework.batch.core.StepExecutionListener, org.springframework.core.Ordered
各ステップの開始時と終了時に、ステップのステータスを示す
StepExecutionEvent
を提供します。StepExecutionListener.afterStep(StepExecution)
は、入力された StepExecution
の ExitStatus
を返します。- 作成者:
- Michael Minella, Glenn Renfro, Ali Shahbour
フィールドサマリー
インターフェース org.springframework.core.Ordered から継承されたフィールド
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
コンストラクターのサマリー
コンストラクター説明EventEmittingStepExecutionListener
(MessagePublisher messagePublisher, int order, TaskEventProperties properties) EventEmittingStepExecutionListener
(MessagePublisher messagePublisher, TaskEventProperties properties) メソッドのサマリー
修飾子と型メソッド説明org.springframework.batch.core.ExitStatus
afterStep
(org.springframework.batch.core.StepExecution stepExecution) void
beforeStep
(org.springframework.batch.core.StepExecution stepExecution) int
getOrder()
コンストラクターの詳細
EventEmittingStepExecutionListener
public EventEmittingStepExecutionListener(MessagePublisher messagePublisher, TaskEventProperties properties) EventEmittingStepExecutionListener
public EventEmittingStepExecutionListener(MessagePublisher messagePublisher, int order, TaskEventProperties properties)
メソッドの詳細
beforeStep
public void beforeStep(org.springframework.batch.core.StepExecution stepExecution) - 次で指定:
- インターフェース
org.springframework.batch.core.StepExecutionListener
のbeforeStep
afterStep
public org.springframework.batch.core.ExitStatus afterStep(org.springframework.batch.core.StepExecution stepExecution) - 次で指定:
- インターフェース
org.springframework.batch.core.StepExecutionListener
のafterStep
getOrder
public int getOrder()- 次で指定:
- インターフェース
org.springframework.core.Ordered
のgetOrder