Class JsrStepExecution

  • All Implemented Interfaces:
    javax.batch.runtime.StepExecution

    public class JsrStepExecution
    extends java.lang.Object
    implements javax.batch.runtime.StepExecution
    Implementation of the JsrStepExecution as defined in JSR-352. This implementation wraps a StepExecution as it's source of data.
    Since:
    3.0
    Author:
    Michael Minella
    • Constructor Detail

      • JsrStepExecution

        public JsrStepExecution​(StepExecution stepExecution)
        Parameters:
        stepExecution - The StepExecution used as the basis for the data.
    • Method Detail

      • getStepExecutionId

        public long getStepExecutionId()
        Specified by:
        getStepExecutionId in interface javax.batch.runtime.StepExecution
      • getStepName

        public java.lang.String getStepName()
        Specified by:
        getStepName in interface javax.batch.runtime.StepExecution
      • getBatchStatus

        public javax.batch.runtime.BatchStatus getBatchStatus()
        Specified by:
        getBatchStatus in interface javax.batch.runtime.StepExecution
      • getStartTime

        public java.util.Date getStartTime()
        Specified by:
        getStartTime in interface javax.batch.runtime.StepExecution
      • getEndTime

        public java.util.Date getEndTime()
        Specified by:
        getEndTime in interface javax.batch.runtime.StepExecution
      • getExitStatus

        public java.lang.String getExitStatus()
        Specified by:
        getExitStatus in interface javax.batch.runtime.StepExecution
      • getPersistentUserData

        public java.io.Serializable getPersistentUserData()
        Specified by:
        getPersistentUserData in interface javax.batch.runtime.StepExecution
      • getMetrics

        public javax.batch.runtime.Metric[] getMetrics()
        Specified by:
        getMetrics in interface javax.batch.runtime.StepExecution