Class DataFeedPublishResponseDetails
java.lang.Object
com.broadleafcommerce.datafeed.service.publisher.support.DataFeedPublishResponseDetails
A payload describing the results of a
DataFeedPublisher.process(DataFeedPublishRequestDetails) attempt.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanIf errors are encountered during the run of this publishing process (ex:isContainsErrors()is true), details should be added here.inthashCode()booleanA simple flag indicating whether the publishing process encountered any errors.voidsetContainsErrors(boolean containsErrors) A simple flag indicating whether the publishing process encountered any errors.voidsetErrorDetails(List<String> errorDetails) If errors are encountered during the run of this publishing process (ex:isContainsErrors()is true), details should be added here.toString()
-
Constructor Details
-
DataFeedPublishResponseDetails
public DataFeedPublishResponseDetails()
-
-
Method Details
-
isContainsErrors
public boolean isContainsErrors()A simple flag indicating whether the publishing process encountered any errors.- Returns:
- whether this publishing process experienced errors
- See Also:
-
getErrorDetails
If errors are encountered during the run of this publishing process (ex:isContainsErrors()is true), details should be added here. Otherwise, this will be empty.- Returns:
- details about any errors experienced by this publishing process
- See Also:
-
setContainsErrors
public void setContainsErrors(boolean containsErrors) A simple flag indicating whether the publishing process encountered any errors.- Parameters:
containsErrors- whether this publishing process experienced errors- See Also:
-
setErrorDetails
If errors are encountered during the run of this publishing process (ex:isContainsErrors()is true), details should be added here. Otherwise, this will be empty.- Parameters:
errorDetails- details about any errors experienced by this publishing process- See Also:
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-