-
public interface StepExecutionProvides a view of a step execution to the JobOperator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchStatusgetBatchStatus()Get batch status of this step execution.java.util.DategetEndTime()Get time this step ended.java.lang.StringgetExitStatus()Get exit status of step.Metric[]getMetrics()Get step metrics.java.io.SerializablegetPersistentUserData()Get persistent user data.java.util.DategetStartTime()Get time this step started.longgetStepExecutionId()Get unique id for this StepExecution.java.lang.StringgetStepName()Get step name.
-
-
-
Method Detail
-
getStepExecutionId
long getStepExecutionId()
Get unique id for this StepExecution.- Returns:
- StepExecution id
-
getStepName
java.lang.String getStepName()
Get step name.- Returns:
- value of 'id' attribute from <step>
-
getBatchStatus
BatchStatus getBatchStatus()
Get batch status of this step execution.- Returns:
- batch status.
-
getStartTime
java.util.Date getStartTime()
Get time this step started.- Returns:
- date (time)
-
getEndTime
java.util.Date getEndTime()
Get time this step ended.- Returns:
- date (time)
-
getExitStatus
java.lang.String getExitStatus()
Get exit status of step.- Returns:
- exit status
-
getPersistentUserData
java.io.Serializable getPersistentUserData()
Get persistent user data.
For a partitioned step, this returns the persistent user data of theStepContextof the "top-level" or main thread (the one thePartitionAnalyzer, etc. execute on). It does not return the persistent user data of the partition threads.- Returns:
- persistent data
-
getMetrics
Metric[] getMetrics()
Get step metrics.- Returns:
- array of metrics
-
-