io.qase.commons.config.BatchConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qase-java-commons Show documentation
Show all versions of qase-java-commons Show documentation
Qase TMS Reporter's common classes
The newest version!
package io.qase.commons.config;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class BatchConfig {
private static final Logger logger = LoggerFactory.getLogger(BatchConfig.class);
public int size = 200;
public void setSize(int size) {
if (size > 2000) {
logger.warn("Batch size must be less than 2000. Using default value 200");
return;
}
this.size = size;
}
public int getSize() {
return size;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy