|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface StepContext<T,P extends Serializable>
| Method Summary | |
|---|---|
JobOperator.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. |
P |
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 |
T |
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(P data)
The setPersistentUserData method stores a persistent data object into the current step. |
void |
setTransientUserData(T data)
The setTransientUserData method stores a transient data object into the current batch context. |
| Method Detail |
|---|
String getStepName()
T getTransientUserData()
void setTransientUserData(T data)
data - is the user-specified typelong getStepExecutionId()
Properties getProperties()
P getPersistentUserData()
void setPersistentUserData(P data)
data - is the user-specified typeJobOperator.BatchStatus 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 | ||||||||||