| Modifier and Type | Method and Description |
|---|---|
| public BatchStatus | Returns: batch status stringThe getBatchStatus method simply returns the batch status value set by the batch runtime into the job context. |
| public long | Returns: job execution idThe getExecutionId method returns the current job's current execution id. |
| public String | Returns: exit status stringThe getExitStatus method simply returns the exit status value stored into the job context through the setExitStatus method or null. |
| public long | Returns: job instance idThe getInstanceId method returns the current job's instance id. |
| public String | |
| public Properties | Returns: job level propertiesThe getProperties method returns the job level properties specified in a job definition. |
| public Object | Returns: user-specified typeThe getTransientUserData method returns a transient data object belonging to the current Job XML execution element. |
| public void | setExitStatus(String
exit status string status)The setExitStatus method assigns the user-specified exit status for the current job. |
| public void | setTransientUserData(Object
is the user-specified type data)The setTransientUserData method stores a transient data object into the current batch context. |
| getBatchStatus | back to summary |
|---|---|
| public BatchStatus getBatchStatus() The getBatchStatus method simply returns the batch status value set by the batch runtime into the job context.
| |
| getExecutionId | back to summary |
|---|---|
| public long getExecutionId() The getExecutionId method returns the current job's current execution id.
| |
| getExitStatus | back to summary |
|---|---|
| public String getExitStatus() The getExitStatus method simply returns the exit status value stored into the job context through the setExitStatus method or null.
| |
| getInstanceId | back to summary |
|---|---|
| public long getInstanceId() The getInstanceId method returns the current job's instance id.
| |
| getJobName | back to summary |
|---|---|
| public String getJobName() Get job name
| |
| getProperties | back to summary |
|---|---|
| public Properties getProperties() The getProperties method returns the job level properties specified in a job definition. A couple of notes:
| |
| getTransientUserData | back to summary |
|---|---|
| public Object getTransientUserData() The getTransientUserData method returns a transient data object belonging to the current Job XML execution element.
| |
| setExitStatus | back to summary |
|---|---|
| public void setExitStatus(String status) The setExitStatus method assigns the user-specified exit status for the current job. When the job ends, the exit status of the job is the value specified through setExitStatus. If setExitStatus was not called or was called with a null value, then the exit status defaults to the batch status of the job.
| |
| setTransientUserData | back to summary |
|---|---|
| public void setTransientUserData(Object data) The setTransientUserData method stores a transient data object into the current batch context.
| |