| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Batch
A Batch represents a transactional unit of work performed by a Job. It contains lists of Errors and, if the Job was configured to record them, Results.
Error, 
Result, 
BatchElement| Field Summary | |
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string  | 
| Method Summary | |
|---|---|
 java.util.List | 
getBatchElements()
Returns a List of BatchElement objects (Errors and Results) in the Batch or null if the Batch is empty.  | 
 java.util.List | 
getErrors()
Returns a List of the Errors that occurred in the Batch or null if there were no Errors.  | 
 int | 
getNumElements()
Returns the number of BatchElement objects (Errors and Results) in the Batch.  | 
 java.util.List | 
getResults()
Returns a List of Results or null if there were no Results.  | 
 boolean | 
isBatchFailed()
Returns the state of the transaction with which this Batch completed.  | 
| Field Detail | 
|---|
static final java.lang.String CLASS_VERSION
| Method Detail | 
|---|
boolean isBatchFailed()
java.util.List getErrors()
java.util.List getResults()
int getNumElements()
java.util.List getBatchElements()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||