public class ComposedTaskStepExecutionListener
extends org.springframework.batch.core.listener.StepExecutionListenerSupport
| Constructor and Description |
|---|
ComposedTaskStepExecutionListener(org.springframework.cloud.task.repository.TaskExplorer taskExplorer) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.batch.core.ExitStatus |
afterStep(org.springframework.batch.core.StepExecution stepExecution)
If endTime for task is null then the ExitStatus will be set to UNKNOWN.
|
public ComposedTaskStepExecutionListener(org.springframework.cloud.task.repository.TaskExplorer taskExplorer)
public org.springframework.batch.core.ExitStatus afterStep(org.springframework.batch.core.StepExecution stepExecution)
afterStep in interface org.springframework.batch.core.StepExecutionListenerafterStep in class org.springframework.batch.core.listener.StepExecutionListenerSupportstepExecution - The stepExecution that kicked of the Task.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.