3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.cdm
.io
.common
;
13 import org
.apache
.log4j
.Logger
;
21 public abstract class IoStateBase
<CONFIG
extends IIoConfigurator
, IO
extends ICdmIO
> {
22 // public abstract class IoStateBase<CONFIG extends IIoConfigurator, IO extends ICdmIO<IoStateBase<CONFIG, IO>>> {
24 @SuppressWarnings("unused")
25 private static final Logger logger
= Logger
.getLogger(IoStateBase
.class);
29 private boolean success
= true;
36 public CONFIG
getConfig() {
41 * @param config the config to set
43 public void setConfig(CONFIG config
) {
50 //TODO config not necessary ones it it implemented in constructor for Imports too.
51 public void initialize(CONFIG config
){
56 * @param currentImport the currentImport to set
58 public void setCurrentIO(IO currentIO
) {
59 this.currentIO
= currentIO
;
63 * @return the currentImport
65 public IO
getCurrentIO() {
69 public void setSuccess(boolean success
) {
70 this.success
= success
;
73 public void setUnsuccessfull(){
77 public boolean isSuccess() {