Class RowGenerationResponse
java.lang.Object
com.broadleafcommerce.common.dataexport.service.RowGenerationResponse
A response returned by
ExportProcessor.generateRows(List, Export) indicating the results
of producing some rows in an export.- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RowGenerationResponseIfsuccessfulis false, then this should contain a description of the error encountered when attempting to produce the rows.getRows()Ifsuccessfulis true, then this should contain all of the generated rows.inthashCode()booleanTrue if the rows were produced successfully, false otherwise.static RowGenerationResponsetoString()
-
Method Details
-
success
-
failure
-
isSuccessful
public boolean isSuccessful()True if the rows were produced successfully, false otherwise. -
getRows
Ifsuccessfulis true, then this should contain all of the generated rows. -
getErrorMessage
Ifsuccessfulis false, then this should contain a description of the error encountered when attempting to produce the rows. This will be used byExportManagerand set on the correspondingExport. -
equals
-
hashCode
public int hashCode() -
toString
-