Top Description Methods
javax.batch.runtime

public Interface StepExecution

Imports
java.util.Date, java.io.Serializable

Provides a view of a step execution to the JobOperator.

Method Summary

Modifier and TypeMethod and Description
public BatchStatus

Returns:

batch status.
getBatchStatus
()

Get batch status of this step execution.

public Date

Returns:

date (time)
getEndTime
()

Get time this step ended.

public String

Returns:

exit status
getExitStatus
()

Get exit status of step.

public Metric[]

Returns:

array of metrics
getMetrics
()

Get step metrics.

public Serializable

Returns:

persistent data
getPersistentUserData
()

Get persistent user data.

public Date

Returns:

date (time)
getStartTime
()

Get time this step started.

public long

Returns:

StepExecution id
getStepExecutionId
()

Get unique id for this StepExecution.

public String

Returns:

value of 'id' attribute from <step>
getStepName
()

Get step name.

Method Detail

getBatchStatusback to summary
public BatchStatus getBatchStatus()

Get batch status of this step execution.

Returns:BatchStatus

batch status.

getEndTimeback to summary
public Date getEndTime()

Get time this step ended.

Returns:Date

date (time)

getExitStatusback to summary
public String getExitStatus()

Get exit status of step.

Returns:String

exit status

getMetricsback to summary
public Metric[] getMetrics()

Get step metrics.

Returns:Metric[]

array of metrics

getPersistentUserDataback to summary
public Serializable getPersistentUserData()

Get persistent user data.

For a partitioned step, this returns the persistent user data of the StepContext of the "top-level" or main thread (the one the PartitionAnalyzer, etc. execute on). It does not return the persistent user data of the partition threads.
Returns:Serializable

persistent data

getStartTimeback to summary
public Date getStartTime()

Get time this step started.

Returns:Date

date (time)

getStepExecutionIdback to summary
public long getStepExecutionId()

Get unique id for this StepExecution.

Returns:long

StepExecution id

getStepNameback to summary
public String getStepName()

Get step name.

Returns:String

value of 'id' attribute from <step>