dnet50/modules/dnet-data-provision-services/trunk/src/main/java/eu/dnetlib/index/IndexBackendDescriptor.java @ 45468
1 |
package eu.dnetlib.index; |
---|---|
2 |
|
3 |
import java.util.Map; |
4 |
|
5 |
/**
|
6 |
* The Interface IndexBackendDescriptor.
|
7 |
*/
|
8 |
public interface IndexBackendDescriptor { |
9 |
|
10 |
/**
|
11 |
* The id.
|
12 |
*/
|
13 |
public static String ID = "id"; |
14 |
|
15 |
/**
|
16 |
* The address.
|
17 |
*/
|
18 |
public static String ADDRESS = "address"; |
19 |
|
20 |
/**
|
21 |
* The address.
|
22 |
*/
|
23 |
public static String PORT = "port"; |
24 |
|
25 |
/**
|
26 |
* Gets the backend id.
|
27 |
*
|
28 |
* @return the backend id
|
29 |
*/
|
30 |
public String getBackendId(); |
31 |
|
32 |
/**
|
33 |
* Gets the endpoint.
|
34 |
*
|
35 |
* @return the endpoint
|
36 |
*/
|
37 |
public Map<String, String> getEndpoint(); |
38 |
|
39 |
/**
|
40 |
* Gets the service properties.
|
41 |
*
|
42 |
* @return the service properties
|
43 |
*/
|
44 |
public Map<String, String> getServiceProperties(); |
45 |
|
46 |
}
|