package de.ivu.elect.business.system.control;

import java.util.Arrays;
import java.util.Collection;

import de.ivu.elect.business.konfiguration.control.AbstractKonfigurationInit;
import de.ivu.elect.business.konfiguration.entity.ElectKonfigurationWerte;
import de.ivu.elect.business.konfiguration.entity.Konfiguration;
import de.ivu.elect.business.konfiguration.entity.KonfigurationInitContext;
import de.ivu.elect.business.system.entity.VirusScanTyp;

public class VirusScanKonfigurationInit extends AbstractKonfigurationInit {

  @Override
  protected Collection<Konfiguration> createDefaultParameters(KonfigurationInitContext konfigurationInitContext) {
    return Arrays.asList(
        create(ElectKonfigurationWerte.VIRUS_SCAN_TYP, VirusScanTyp.DEAKTIVIERT),
        create(ElectKonfigurationWerte.VIRUS_SCAN_HOST, ""),
        create(ElectKonfigurationWerte.VIRUS_SCAN_PORT, ""),
        create(ElectKonfigurationWerte.VIRUS_SCAN_TIMEOUT_IN_MS, ""),
        create(ElectKonfigurationWerte.VIRUS_SCAN_CHUNK_SIZE_IN_BYTES, "")
    );
  }

}
