R
- type of result returned for the successfully-processed elements of the batch operationpublic interface BatchOperationResponse<R extends PositionalResult>
Modifier and Type | Method and Description |
---|---|
List<BatchOperationError> |
getErrors()
Returns the List of errors that occurred when processing the batch.
|
List<R> |
getSuccesses()
Returns results for the items that were successfully processed in the batch operation.
|
boolean |
hasErrors()
Returns whether or not there was at least one error encountered while processing the batch.
|
List<R> getSuccesses()
boolean hasErrors()
This is mostly a convenience method on top of:
getErrors().size() > 0
List<BatchOperationError> getErrors()
BatchOperationError.getInputPosition()
.
If no errors occurred, this returns an empty list. This will never return null
.
Copyright © Veeva Systems 2017–2019. All rights reserved.