Project

General

Profile

Download (1.46 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2016 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
package eu.etaxonomy.cdm.io.common;
10

    
11
import eu.etaxonomy.cdm.common.monitor.DefaultProgressMonitor;
12
import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;
13

    
14
/**
15
 * @author k.luther
16
 * @date 08.12.2016
17
 *
18
 */
19
public class CacheUpdaterWrapper extends CdmImportBase<CacheUpdaterConfigurator, DefaultImportState<CacheUpdaterConfigurator>> {
20

    
21
    /**
22
     * {@inheritDoc}
23
     */
24
    @Override
25
    protected void doInvoke(DefaultImportState<CacheUpdaterConfigurator> state) {
26
        CacheUpdaterConfigurator config = state.getConfig();
27
        CacheUpdater updater;
28

    
29
       // CaseType caseType = CaseType.caseTypeOfDatasource(config.getDestination());
30
        IProgressMonitor  monitor = DefaultProgressMonitor.NewInstance();
31
        updater = new CacheUpdater();
32
        updater.invoke(state);
33

    
34
        return;
35

    
36
    }
37

    
38
    /**
39
     * {@inheritDoc}
40
     */
41
    @Override
42
    protected boolean doCheck(DefaultImportState<CacheUpdaterConfigurator> state) {
43
        // TODO Auto-generated method stub
44
        return false;
45
    }
46

    
47
    /**
48
     * {@inheritDoc}
49
     */
50
    @Override
51
    protected boolean isIgnore(DefaultImportState<CacheUpdaterConfigurator> state) {
52
        // TODO Auto-generated method stub
53
        return false;
54
    }
55

    
56
}
(4-4/62)