1
|
/**
|
2
|
* Copyright (C) 2020 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.taxeditor.workbench.datasource;
|
10
|
|
11
|
import java.io.File;
|
12
|
|
13
|
|
14
|
/**
|
15
|
* @author k.luther
|
16
|
* @since Sep 17, 2020
|
17
|
*/
|
18
|
public interface ICdmServer {
|
19
|
public boolean isAlive();
|
20
|
public String getDataSourceName();
|
21
|
public void setForceSchemaCreate(boolean isForceSchemaCreate);
|
22
|
public void setForceSchemaUpdate(boolean isForceSchemaUpdate);
|
23
|
public void start(boolean wait, final ICDMServerError cdmServerError) throws CdmEmbeddedServerException;
|
24
|
public int getPort();
|
25
|
public void stop() throws Exception;
|
26
|
public boolean isStarted();
|
27
|
public boolean isFailed();
|
28
|
|
29
|
public void setDataSourceParams(String dataSourceName, File dataSourceFile) throws CdmEmbeddedServerException ;
|
30
|
|
31
|
|
32
|
}
|