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

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 static java.util.Arrays.asList;

public class PerformanceStatistikKonfigurationInit extends AbstractKonfigurationInit {

  public PerformanceStatistikKonfigurationInit() {
    super();
  }

  @Override
  protected Collection<Konfiguration> createDefaultParameters(KonfigurationInitContext konfigurationInitContext) {
    return asList( //
        create(ElectKonfigurationWerte.PERFORMANCE_STATISTIKEN_AKTIVIEREN, true), //
        create(ElectKonfigurationWerte.PERFORMANCE_STATISTIKEN_DETAILLIERTE_LOGAUSGABEN, false), //
        create(ElectKonfigurationWerte.PERFORMANCE_STATISTIKEN_LOG_INTERVALL_CRONTAB, "") // deaktivieren WASDE-1674
    );
  }
}
