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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
If errors are encountered during the run of this publishing process (ex:isContainsErrors()
is true), details should be added here.int
hashCode()
boolean
A simple flag indicating whether the publishing process encountered any errors.void
setContainsErrors
(boolean containsErrors) A simple flag indicating whether the publishing process encountered any errors.void
setErrorDetails
(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
-