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 -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe amount of items that will be read from the file (excluding the header) before sending a message to process the batchlongWhen performing validation on an import, how many records can fail validation and be reported on before stopping the validation altogetherinthashCode()voidsetBatchSize(int batchSize) The amount of items that will be read from the file (excluding the header) before sending a message to process the batchvoidsetValidationFailureLimit(long validationFailureLimit) When performing validation on an import, how many records can fail validation and be reported on before stopping the validation altogethertoString()
-
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-