Class DataImportProcessorProperties

java.lang.Object
com.broadleafcommerce.dataimport.processor.environment.DataImportProcessorProperties

@ConfigurationProperties("broadleaf.dataimport.processor") public class DataImportProcessorProperties extends Object
Properties controlling the CSV import process
Author:
Phillip Verheyden (phillipuniverse)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
     
    int
    The amount of items that will be read from the file (excluding the header) before sending a message to process the batch
    long
    When performing validation on an import, how many records can fail validation and be reported on before stopping the validation altogether
    int
     
    void
    setBatchSize(int batchSize)
    The amount of items that will be read from the file (excluding the header) before sending a message to process the batch
    void
    setValidationFailureLimit(long validationFailureLimit)
    When performing validation on an import, how many records can fail validation and be reported on before stopping the validation altogether
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DataImportProcessorProperties

      public DataImportProcessorProperties()
  • Method Details

    • getBatchSize

      public int getBatchSize()
      The amount of items that will be read from the file (excluding the header) before sending a message to process the batch
    • getValidationFailureLimit

      public long getValidationFailureLimit()
      When performing validation on an import, how many records can fail validation and be reported on before stopping the validation altogether
    • setBatchSize

      public void setBatchSize(int batchSize)
      The amount of items that will be read from the file (excluding the header) before sending a message to process the batch
    • setValidationFailureLimit

      public void setValidationFailureLimit(long validationFailureLimit)
      When performing validation on an import, how many records can fail validation and be reported on before stopping the validation altogether
    • 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