public class ServiceConfiguration extends Object
Modifier and Type | Method and Description |
---|---|
List<String> |
getConfigurationLocations()
Get all configured URLs for remote configration endpoint.
|
String |
getFirstConfigurationLocation()
Convenient method to get the first URL for remote configuration endpoint.
|
String |
getFirstServiceLocation()
Convenient method to get the first URL of the remote index/query service.
|
String |
getIndexName()
Get the index name.
|
List<String> |
getServiceLocations()
Get all configured URLs for remote index/query services.
|
void |
setConfigurationLocations(List<String> configurationUrls)
Set URLs for remote configuration endpoint.
|
void |
setServiceLocations(List<String> serviceUrls)
Set URLs for remote index/query services.
|
public String getIndexName()
public List<String> getServiceLocations()
public void setServiceLocations(List<String> serviceUrls)
serviceUrls
- the list of URLs for remote index/query services to set.public List<String> getConfigurationLocations()
public void setConfigurationLocations(List<String> configurationUrls)
configurationUrls
- the list of URLs for remote configuration endpoint to set.public String getFirstServiceLocation()
public String getFirstConfigurationLocation()
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries