minor
[cdmlib-apps.git] / cdm-pesi / src / main / java / eu / etaxonomy / cdm / io / pesi / erms / validation / ErmsDistributionImportValidator.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package eu.etaxonomy.cdm.io.pesi.erms.validation;
11
12 import org.apache.logging.log4j.LogManager;
13 import org.apache.logging.log4j.Logger;
14
15 import eu.etaxonomy.cdm.io.common.IOValidator;
16 import eu.etaxonomy.cdm.io.pesi.erms.ErmsImportState;
17
18 /**
19 * @author a.mueller
20 * @since 17.02.2010
21 */
22 public class ErmsDistributionImportValidator implements IOValidator<ErmsImportState>{
23
24 private static Logger logger = LogManager.getLogger();
25
26 @Override
27 public boolean validate(ErmsImportState state){
28 boolean result = true;
29 // ErmsImportConfigurator config = state.getConfig();
30 logger.info("Checking for Dr not yet implemented");
31 // result &= checkTaxonStatus(config);
32 // result &= checkInactivated(config);
33 return result;
34 }
35 }