javax.batch.runtime
Interface StepExecution<P extends Serializable>


public interface StepExecution<P extends Serializable>


Method Summary
 JobOperator.BatchStatus getBatchStatus()
          Get batch status of this step execution.
 Date getEndTime()
          Get time this step ended.
 long getExecutionId()
          Get unique id for this StepExecution.
 String getExitStatus()
          Get exit status of step.
 Metric[] getMetrics()
          Get step metrics
 Date getStartTime()
          Get time this step started.
 String[] getStepContainment()
          Get step containment.
 String getStepName()
          Get step name.
 P getUserPersistentData()
          Get user persistent data
 

Method Detail

getExecutionId

long getExecutionId()
Get unique id for this StepExecution.

Returns:
StepExecution id

getStepName

String getStepName()
Get step name.

Returns:
value of 'id' attribute from

getStepContainment

String[] getStepContainment()
Get step containment. The purpose of this method is to make it possible to distinguish among steps with the same names that occur within different containment. A containment is an array of 'id' attribute names from those XML elements that contain the step represented by this StepExecution. The 'id' attribute values of the containment are ordered from outer scope to inner scope, starting with the first containing element that is a direct child element of the job element.

E.g.

The getStepName method would return the following containment array for "step1": {"flow1","split1"}.

Returns:
array of containment names.

getBatchStatus

JobOperator.BatchStatus getBatchStatus()
Get batch status of this step execution.

Returns:
batch status.

getStartTime

Date getStartTime()
Get time this step started.

Returns:
date (time)

getEndTime

Date getEndTime()
Get time this step ended.

Returns:
date (time)

getExitStatus

String getExitStatus()
Get exit status of step.

Returns:
exit status

getUserPersistentData

P getUserPersistentData()
Get user persistent data

Returns:
persistent data

getMetrics

Metric[] getMetrics()
Get step metrics

Returns:
array of metrics


Copyright © 2013. All Rights Reserved.