|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface StepContext
| Method Summary | |
|---|---|
BatchStatus |
getBatchStatus()
The getBatchStatus method returns the current batch status of the current step. |
Exception |
getException()
The getException method returns the last exception thrown from a step level batch artifact to the batch runtime. |
String |
getExitStatus()
The getExitStatus method simply returns the exit status value stored into the step context through the setExitStatus method or null. |
Metric[] |
getMetrics()
The getMetrics method returns an array of step level metrics. |
Serializable |
getPersistentUserData()
The getPersistentUserData method returns a persistent data object belonging to the current step. |
Properties |
getProperties()
The getProperties method returns the step level properties specified in a job definition. |
long |
getStepExecutionId()
The getStepExecutionId method returns the current step's execution id. |
String |
getStepName()
Get step name |
Object |
getTransientUserData()
The getTransientUserData method returns a transient data object belonging to the current Job XML execution element. |
void |
setExitStatus(String status)
The setExitStatus method assigns the user-specified exit status for the current step. |
void |
setPersistentUserData(Serializable data)
The setPersistentUserData method stores a persistent data object into the current step. |
void |
setTransientUserData(Object data)
The setTransientUserData method stores a transient data object into the current batch context. |
| Method Detail |
|---|
String getStepName()
Object getTransientUserData()
void setTransientUserData(Object data)
data - is the user-specified typelong getStepExecutionId()
Properties getProperties()
Serializable getPersistentUserData()
void setPersistentUserData(Serializable data)
data - is the user-specified typeBatchStatus getBatchStatus()
String getExitStatus()
void setExitStatus(String status)
Exception getException()
Metric[] getMetrics()
for definition of standard
metrics.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
© Copyright IBM Corp. 2013
Licensed under the Apache License, Version 2.0