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.log4j.Logger;
|
13
|
|
14
|
import eu.etaxonomy.cdm.io.common.IOValidator;
|
15
|
import eu.etaxonomy.cdm.io.pesi.erms.ErmsImportConfigurator;
|
16
|
import eu.etaxonomy.cdm.io.pesi.erms.ErmsImportState;
|
17
|
|
18
|
/**
|
19
|
* @author a.mueller
|
20
|
* @since 17.02.2010
|
21
|
*/
|
22
|
public class ErmsLinkImportValidator implements IOValidator<ErmsImportState>{
|
23
|
private static final Logger logger = Logger.getLogger(ErmsLinkImportValidator.class);
|
24
|
|
25
|
@Override
|
26
|
public boolean validate(ErmsImportState state){
|
27
|
boolean result = true;
|
28
|
ErmsImportConfigurator config = state.getConfig();
|
29
|
logger.info("Checking for links not yet implemented");
|
30
|
// result &= checkTaxonStatus(config);
|
31
|
return result;
|
32
|
}
|
33
|
}
|