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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
The amount of items that will be read from the file (excluding the header) before sending a message to process the batchlong
When performing validation on an import, how many records can fail validation and be reported on before stopping the validation altogetherint
hashCode()
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 batchvoid
setValidationFailureLimit
(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
-