Class BatchProcessResponse
java.lang.Object
com.broadleafcommerce.bulk.service.BatchProcessResponse
A response returned by
BulkUpdateProcessor.modifyAndPersist(List, BulkUpdate) indicating
the results of processing a batch of records in an update.- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBatchProcessResponse(boolean successful, List<BulkUpdateError> errors) Creates a newBatchProcessResponseinstance. -
Method Summary
-
Constructor Details
-
BatchProcessResponse
Creates a newBatchProcessResponseinstance.- Parameters:
successful- True if the batch was processed successfully, false otherwise.errors- Ifsuccessfulis false, then this should contain all of the errors encountered when processing the batch. These will be used byBulkUpdateManagerand set on the correspondingBulkUpdate.
-
-
Method Details
-
isSuccessful
public boolean isSuccessful()True if the batch was processed successfully, false otherwise. -
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. -
equals
-
hashCode
public int hashCode() -
toString
-