Class DataFeedFileTransformResponseDetails
java.lang.Object
com.broadleafcommerce.datafeed.service.publisher.file.support.DataFeedFileTransformResponseDetails
A payload describing the results of a
 
DataFeedFileTransformer.transform(FilePublishContext) operation.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanIf errors are encountered during the run of this file transformation process (ex:isContainsErrors()is true), details should be added here.inthashCode()booleanA simple flag indicating whether the file transformation process encountered any errors.booleanIn some rare cases, the transform step may find that it naturally didn't have any data to operate on, or didn't have any data to write after transformation.voidsetContainsErrors(boolean containsErrors) A simple flag indicating whether the file transformation process encountered any errors.voidsetErrorDetails(List<String> errorDetails) If errors are encountered during the run of this file transformation process (ex:isContainsErrors()is true), details should be added here.voidsetResultShouldBeSubmitted(boolean resultShouldBeSubmitted) In some rare cases, the transform step may find that it naturally didn't have any data to operate on, or didn't have any data to write after transformation.toString()
- 
Constructor Details- 
DataFeedFileTransformResponseDetailspublic DataFeedFileTransformResponseDetails()
 
- 
- 
Method Details- 
isResultShouldBeSubmittedpublic boolean isResultShouldBeSubmitted()In some rare cases, the transform step may find that it naturally didn't have any data to operate on, or didn't have any data to write after transformation. In such cases, the final file would be empty, and thus we should not upload anything to the remote provider and simply exit with success. This flag should be set to true in such cases.- Returns:
- whether the resulting file from the transform step should be submitted to the destination provider
 
- 
isContainsErrorspublic boolean isContainsErrors()A simple flag indicating whether the file transformation process encountered any errors.- Returns:
- whether this file transformation process experienced errors
- See Also:
 
- 
getErrorDetailsIf errors are encountered during the run of this file transformation process (ex:isContainsErrors()is true), details should be added here. Otherwise, this will be empty.- Returns:
- details about any errors experienced by this file transformation process
- See Also:
 
- 
setResultShouldBeSubmittedpublic void setResultShouldBeSubmitted(boolean resultShouldBeSubmitted) In some rare cases, the transform step may find that it naturally didn't have any data to operate on, or didn't have any data to write after transformation. In such cases, the final file would be empty, and thus we should not upload anything to the remote provider and simply exit with success. This flag should be set to true in such cases.- Parameters:
- resultShouldBeSubmitted- whether the resulting file from the transform step should be submitted to the destination provider
 
- 
setContainsErrorspublic void setContainsErrors(boolean containsErrors) A simple flag indicating whether the file transformation process encountered any errors.- Parameters:
- containsErrors- whether this file transformation process experienced errors
- See Also:
 
- 
setErrorDetailsIf errors are encountered during the run of this file transformation process (ex:isContainsErrors()is true), details should be added here. Otherwise, this will be empty.- Parameters:
- errorDetails- details about any errors experienced by this file transformation process
- See Also:
 
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
- 
toString
 
-