public class OpenSearchConfigElement
extends org.springframework.extensions.config.element.ConfigElementAdapter
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenSearchConfigElement.EngineConfig
Inner class representing the configuration of an OpenSearch engine
|
static class |
OpenSearchConfigElement.ProxyConfig
Inner class representing the configuration of the OpenSearch proxy
|
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_ELEMENT_ID |
| Constructor and Description |
|---|
OpenSearchConfigElement()
Default constructor
|
OpenSearchConfigElement(String name)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.extensions.config.ConfigElement |
combine(org.springframework.extensions.config.ConfigElement configElement) |
List<org.springframework.extensions.config.ConfigElement> |
getChildren() |
OpenSearchConfigElement.EngineConfig |
getEngine(String proxy) |
Set<OpenSearchConfigElement.EngineConfig> |
getEngines() |
OpenSearchConfigElement.ProxyConfig |
getProxy()
Gets the proxy configuration
|
public static final String CONFIG_ELEMENT_ID
public OpenSearchConfigElement()
public OpenSearchConfigElement(String name)
name - Name of the element this config element representspublic List<org.springframework.extensions.config.ConfigElement> getChildren()
getChildren in interface org.springframework.extensions.config.ConfigElementgetChildren in class org.springframework.extensions.config.element.ConfigElementAdapterConfigElement.getChildren()public org.springframework.extensions.config.ConfigElement combine(org.springframework.extensions.config.ConfigElement configElement)
combine in interface org.springframework.extensions.config.ConfigElementcombine in class org.springframework.extensions.config.element.ConfigElementAdapterConfigElement.combine(ConfigElement)public OpenSearchConfigElement.ProxyConfig getProxy()
public Set<OpenSearchConfigElement.EngineConfig> getEngines()
public OpenSearchConfigElement.EngineConfig getEngine(String proxy)
proxy - name of engine proxyCopyright © 2005–2018 Alfresco Software. All rights reserved.