public final class BulkOperationResult<T> extends Object implements Serializable
BulkItem represents the operation status for each individual data piece. The
items list defines a contract in which the ordering of those items needs to match the ordering of the original
objects. For example, if the bulk operation consisted of 10 person objects in which number X corresponded to the person 'John
Doe', then the Xth item in the items list must reference to the result of procesing the same 'John Doe'| Modifier and Type | Class and Description |
|---|---|
static class |
BulkOperationResult.BulkOperationResultBuilder<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> BulkOperationResult.BulkOperationResultBuilder<T> |
builder() |
Serializable |
getId() |
List<BulkItem<T>> |
getItems() |
boolean |
isSuccessful() |
public Serializable getId()
public boolean isSuccessful()
true if and only if all the child BulkItem
entities were also successfulpublic List<BulkItem<T>> getItems()
BulkItem, one per each item in the original operation, no matter if the record was successful or
notpublic static <T> BulkOperationResult.BulkOperationResultBuilder<T> builder()
Copyright © 2017 MuleSoft, Inc.. All rights reserved.