Class DataFeedPublishResponseDetails

java.lang.Object
com.broadleafcommerce.datafeed.service.publisher.support.DataFeedPublishResponseDetails

public class DataFeedPublishResponseDetails extends Object
A payload describing the results of a DataFeedPublisher.process(DataFeedPublishRequestDetails) attempt.
  • 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

      public List<String> 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

      public 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. Otherwise, this will be empty.
      Parameters:
      errorDetails - details about any errors experienced by this publishing process
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object