Class ExportFileWriteResponse
java.lang.Object
com.broadleafcommerce.common.dataexport.service.ExportFileWriteResponse
Response returned by
ExportFileWriter
to indicate the results of writing to a file.- Author:
- Samarth Dhruva (samarthd)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static ExportFileWriteResponse
Ifsuccessful
is false, then this should contain a description of the error encountered when attempting to write to the file.int
hashCode()
boolean
True if the write operation completed successfully, false otherwise.static ExportFileWriteResponse
success()
toString()
-
Method Details
-
success
-
failure
-
isSuccessful
public boolean isSuccessful()True if the write operation completed successfully, false otherwise. -
getErrorMessage
Ifsuccessful
is false, then this should contain a description of the error encountered when attempting to write to the file. This will be used byExportManager
and set on the correspondingExport
. -
equals
-
hashCode
public int hashCode() -
toString
-