Revision f104a204
Added by Andreas Müller almost 2 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/common/SimpleImportConfiguratorBase.java | ||
---|---|---|
14 | 14 |
/** |
15 | 15 |
* @author a.mueller |
16 | 16 |
* @since 14.03.2017 |
17 |
* |
|
18 | 17 |
*/ |
19 | 18 |
public abstract class SimpleImportConfiguratorBase<SOURCE extends Object> |
20 | 19 |
extends ImportConfiguratorBase<EmptyImportState<SimpleImportConfiguratorBase,?>, SOURCE>{ |
21 | 20 |
private static final long serialVersionUID = 5310312930219876822L; |
22 | 21 |
|
23 |
/** |
|
24 |
* @param transformer |
|
25 |
*/ |
|
26 | 22 |
protected SimpleImportConfiguratorBase(SOURCE source, ICdmDataSource destination, IInputTransformer transformer) { |
27 | 23 |
super(transformer); |
28 | 24 |
setSource(source); |
29 | 25 |
setDestination(destination); |
30 | 26 |
} |
31 | 27 |
|
32 |
|
|
33 |
/** |
|
34 |
* {@inheritDoc} |
|
35 |
*/ |
|
36 | 28 |
@Override |
37 | 29 |
public EmptyImportState getNewState() { |
38 | 30 |
return new EmptyImportState(this); |
39 | 31 |
} |
40 |
|
|
41 |
} |
|
32 |
} |
Also available in: Unified diff
cleanup