public interface StepExecution
Provides a view of a step execution to the JobOperator.
-
Method Summary
Modifier and TypeMethodDescriptionGet batch status of this step execution.Get time this step ended.Get exit status of step.Metric[]
Get step metrics.Get persistent user data.Get time this step started.long
Get unique id for this StepExecution.Get step name.
-
Method Details
-
getStepExecutionId
long getStepExecutionId()Get unique id for this StepExecution.- Returns:
- StepExecution id
-
getStepName
-
getBatchStatus
-
getStartTime
-
getEndTime
-
getExitStatus
-
getPersistentUserData
Serializable getPersistentUserData()Get persistent user data.
For a partitioned step, this returns the persistent user data of theStepContext
of 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
-