Class BatchProcessResponse
- java.lang.Object
 - 
- com.broadleafcommerce.bulk.service.BatchProcessResponse
 
 
- 
public final class BatchProcessResponse extends Object
A response returned byBulkUpdateProcessor.modifyAndPersist(List, BulkUpdate)indicating the results of processing a batch of records in an update.- Author:
 - Samarth Dhruva (samarthd)
 - See Also:
 BulkUpdateProcessor.modifyAndPersist(List, BulkUpdate)
 
- 
- 
Constructor Summary
Constructors Constructor Description BatchProcessResponse(boolean successful, List<BulkUpdateError> errors) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<BulkUpdateError>getErrors()Ifsuccessfulis false, then this should contain all of the errors encountered when processing the batch.inthashCode()booleanisSuccessful()True if the batch was processed successfully, false otherwise.StringtoString() 
 - 
 
- 
- 
Constructor Detail
- 
BatchProcessResponse
public BatchProcessResponse(boolean successful, List<BulkUpdateError> errors) 
 - 
 
- 
Method Detail
- 
isSuccessful
public boolean isSuccessful()
True if the batch was processed successfully, false otherwise. 
- 
getErrors
public List<BulkUpdateError> getErrors()
Ifsuccessfulis false, then this should contain all of the errors encountered when processing the batch. These will be used byBulkUpdateManagerand set on the correspondingBulkUpdate. 
 - 
 
 -